summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-04-21 18:11:19 +0000
committerrwatson <rwatson@FreeBSD.org>2007-04-21 18:11:19 +0000
commit32f12b60cc993453e0419d55699f883edd7feeb5 (patch)
treec01699d851b69d7ae36f215085155bda57bc12f7 /sys/gnu
parentcca3de2c55be08432928aafb01996eb30f5ebcf0 (diff)
downloadFreeBSD-src-32f12b60cc993453e0419d55699f883edd7feeb5.zip
FreeBSD-src-32f12b60cc993453e0419d55699f883edd7feeb5.tar.gz
Attempt to rationalize NFS privileges:
- Replace PRIV_NFSD with PRIV_NFS_DAEMON, add PRIV_NFS_LOCKD. - Use PRIV_NFS_DAEMON in the NFS server. - In the NFS client, move the privilege check from nfslockdans(), which occurs every time a write is performed on /dev/nfslock, and instead do it in nfslock_open() just once. This allows us to avoid checking the saved uid for root, and just use the effective on open. Use PRIV_NFS_LOCKD.
Diffstat (limited to 'sys/gnu')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud