From owner-freebsd-arch Tue Feb 27 10:58:38 2001 Delivered-To: freebsd-arch@freebsd.org Received: from roaming.cacheboy.net (node16292.a2000.nl [24.132.98.146]) by hub.freebsd.org (Postfix) with ESMTP id 92F5D37B719; Tue, 27 Feb 2001 10:58:31 -0800 (PST) (envelope-from adrian@roaming.cacheboy.net) Received: (from adrian@localhost) by roaming.cacheboy.net (8.11.1/8.11.1) id f1RDk7s35929; Tue, 27 Feb 2001 14:46:07 +0100 (CET) (envelope-from adrian) Date: Tue, 27 Feb 2001 14:46:00 +0100 From: Adrian Chadd To: Jonathan Lemon 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> References: <200102161431.f1GEVoa21701@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102161431.f1GEVoa21701@freefall.freebsd.org>; from jlemon@FreeBSD.org on Fri, Feb 16, 2001 at 06:31:50AM -0800 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: 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