Date: Wed, 16 Aug 2000 22:35:02 +0200 From: Poul-Henning Kamp <phk@freebsd.org> To: current@freebsd.org Subject: Patch test & review: vop_stdaccess() Message-ID: <53850.966458102@critter>
next in thread | raw e-mail | index | archive | help
Please test and review this patch: http://phk.freebsd.dk/patch/vop_stdaccess.patch This patch creates a centralized function "vop_stdaccess()" which does the "canonical" permission check on a vnode. This code was duplicated in 5 filesystems and morphed in a 6th. Files touched: Index: fs/hpfs/hpfs_vnops.c Index: isofs/cd9660/cd9660_vnops.c Index: kern/vfs_default.c Index: miscfs/kernfs/kernfs_vnops.c Index: msdosfs/msdosfs_vnops.c Index: ntfs/ntfs_vnops.c Index: sys/vnode.h Index: ufs/ufs/ufs_vnops.c Linecount: removes: 243 adds: 79 net change: -164 -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53850.966458102>