Date: Sun, 11 Nov 2001 14:39:07 -0800 (PST) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys vnode.h src/sys/nfsclient nfs_lock.c src/sys/kern vfs_vnops.c Message-ID: <200111112239.fABMd7Y55211@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Revision Changes Path
1.124 +12 -2 src/sys/kern/vfs_vnops.c
1.17 +1 -15 src/sys/nfsclient/nfs_lock.c
1.164 +2 -0 src/sys/sys/vnode.h
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?200111112239.fABMd7Y55211>
