Date: Sun, 11 Nov 2001 16:41:40 -0600 From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Cc: rwatson@freebsd.org, kris@freebsd.org Subject: Re: cvs commit: src/sys/sys vnode.h src/sys/nfsclient nfs_lock.c src/sys/kern vfs_vnops.c Message-ID: <20011111164140.H89342@elvis.mu.org> In-Reply-To: <200111112239.fABMd7Y55211@freefall.freebsd.org>; from alfred@FreeBSD.org on Sun, Nov 11, 2001 at 02:39:07PM -0800 References: <200111112239.fABMd7Y55211@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Alfred Perlstein <alfred@FreeBSD.org> [011111 16:39] wrote:
> alfred 2001/11/11 14:39:07 PST
>
> Modified files:
> sys/sys vnode.h
> sys/nfsclient nfs_lock.c
> sys/kern vfs_vnops.c
> Log:
> turn vn_open() into a wrapper around vn_open_cred() which allows
> one to perform a vn_open using temporary/other/fake credentials.
>
> Modify the nfs client side locking code to use vn_open_cred() passing
> proc0's ucred instead of the old way which was to temporary raise
> privs while running vn_open(). This should close the race hopefully.
And on -security there was much rejoicing. :)
--
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.'
http://www.morons.org/rants/gpl-harmful.php3
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011111164140.H89342>
