Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 14:46:00 +0100
From:      Adrian Chadd <adrian@freebsd.org>
To:        Jonathan Lemon <jlemon@freebsd.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: cvs commit: src/sys/sys mount.h uio.h src/sys/kern kern_subr.c vfs_syscalls.c
Message-ID:  <20010227144600.A35908@roaming.cacheboy.net>
In-Reply-To: <200102161431.f1GEVoa21701@freefall.freebsd.org>; from jlemon@FreeBSD.org on Fri, Feb 16, 2001 at 06:31:50AM -0800
References:  <200102161431.f1GEVoa21701@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 16, 2001, Jonathan Lemon wrote:
> jlemon      2001/02/16 06:31:50 PST
> 
>   Modified files:
>     sys/sys              mount.h uio.h 
>     sys/kern             kern_subr.c vfs_syscalls.c 
>   Log:
>   Introduce copyinfrom and copyinstrfrom, which can copy data from either
>   user or kernel space.  This will allow layering of os-compat (e.g.: linux)
>   system calls.  Apply the changes to mount.
>   
>   Revision  Changes    Path
>   1.100     +3 -1      src/sys/sys/mount.h
>   1.12      +4 -1      src/sys/sys/uio.h
>   1.42      +37 -1     src/sys/kern/kern_subr.c
>   1.177     +14 -5     src/sys/kern/vfs_syscalls.c

.. being a little behind on the CVS mail, I actually had a more
far-reaching change scheduled to the mount interface.

Specifically, I was going to take VFS_MOUNT() and change path to be
a kernel string rather than a user string. I was then going to
modify all the filesystem code to DTRT.

Then, I was going to wrap mount() into domount(), much like unmount()
and doumount() function.

The next part of the change involves doing the same thing to flags and
data, which is going to be a little tricker and require a hell of a lot
more work.

Does anyone have any problems with this?



Adrian, always late.. :)

-- 
Adrian Chadd			"Programming is like sex:
<adrian@freebsd.org>		   One mistake and you have to support for
				    a lifetime." -- rec.humor.funny


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010227144600.A35908>