Date: Tue, 29 Aug 2000 07:45:50 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys vnode.h src/sys/kern vfs_subr.c src/sys/fs/devfs devfs_vnops.c src/sys/fs/hpfs hpfs_vnops.c src/sys/isofs/cd9660 cd9660_vnops.c src/sys/miscfs/kernfs kernfs_vnops.c src/sys/msdosfs msdosfs_vnops.c src/sys/ntfs ... Message-ID: <200008291445.HAA33366@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2000/08/29 07:45:50 PDT Modified files: sys/sys vnode.h sys/kern vfs_subr.c sys/fs/devfs devfs_vnops.c sys/fs/hpfs hpfs_vnops.c sys/isofs/cd9660 cd9660_vnops.c sys/miscfs/kernfs kernfs_vnops.c sys/msdosfs msdosfs_vnops.c sys/ntfs ntfs_vnops.c sys/ufs/ufs ufs_vnops.c Log: o Restructure vaccess() so as to check for DAC permission to modify the object before falling back on privilege. Make vaccess() accept an additional optional argument, privused, to determine whether privilege was required for vaccess() to return 0. Add commented out capability checks for reference. Rename some variables to make it more clear which modes/uids/etc are associated with the object, and which with the access mode. o Update file system use of vaccess() to pass NULL as the optional privused argument. Once additional patches are applied, suser() will no longer set ASU, so privused will permit passing of privilege information up the stack to the caller. Reviewed by: bde, green, phk, -security, others Obtained from: TrustedBSD Project Revision Changes Path 1.124 +2 -2 src/sys/sys/vnode.h 1.270 +92 -40 src/sys/kern/vfs_subr.c 1.6 +2 -2 src/sys/fs/devfs/devfs_vnops.c 1.6 +2 -2 src/sys/fs/hpfs/hpfs_vnops.c 1.67 +2 -2 src/sys/isofs/cd9660/cd9660_vnops.c 1.45 +2 -2 src/sys/miscfs/kernfs/kernfs_vnops.c 1.103 +2 -2 src/sys/msdosfs/msdosfs_vnops.c 1.15 +2 -2 src/sys/ntfs/ntfs_vnops.c 1.143 +2 -2 src/sys/ufs/ufs/ufs_vnops.c 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?200008291445.HAA33366>