Date: Wed, 17 Sep 2008 15:49:44 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src ObsoleteFiles.inc src/share/man/man9 Makefile priv.9 suser.9 ucred.9 vfs_suser.9 src/sys/dev/cxgb/ulp/tom cxgb_cpl_io.c src/sys/kern kern_priv.c src/sys/netipx ipx.c src/sys/nfsserver nfs_serv.c src/sys/security/mac_bsdextended ... Message-ID: <200809171554.m8HFsAZl019478@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2008-09-17 15:49:44 UTC FreeBSD src repository Modified files: . ObsoleteFiles.inc share/man/man9 Makefile priv.9 ucred.9 vfs_suser.9 sys/dev/cxgb/ulp/tom cxgb_cpl_io.c sys/kern kern_priv.c sys/netipx ipx.c sys/nfsserver nfs_serv.c sys/security/mac_bsdextended mac_bsdextended.c sys/sys priv.h Removed files: share/man/man9 suser.9 Log: SVN rev 183113 on 2008-09-17 15:49:44Z by attilio Remove the suser(9) interface from the kernel. It has been replaced from years by the priv_check(9) interface and just very few places are left. Note that compatibility stub with older FreeBSD version (all above the 8 limit though) are left in order to reduce diffs against old versions. It is responsibility of the maintainers for any module, if they think it is the case, to axe out such cases. This patch breaks KPI so __FreeBSD_version will be bumped into a later commit. This patch needs to be credited 50-50 with rwatson@ as he found time to explain me how the priv_check() works in detail and to review patches. Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com> Reviewed by: rwatson Revision Changes Path 1.161 +2 -0 src/ObsoleteFiles.inc 1.341 +0 -2 src/share/man/man9/Makefile 1.7 +1 -2 src/share/man/man9/priv.9 1.35 +0 -115 src/share/man/man9/suser.9 (dead) 1.10 +0 -6 src/share/man/man9/ucred.9 1.4 +2 -3 src/share/man/man9/vfs_suser.9 1.20 +2 -2 src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c 1.6 +0 -21 src/sys/kern/kern_priv.c 1.34 +11 -4 src/sys/netipx/ipx.c 1.185 +4 -2 src/sys/nfsserver/nfs_serv.c 1.47 +24 -8 src/sys/security/mac_bsdextended/mac_bsdextended.c 1.22 +0 -6 src/sys/sys/priv.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809171554.m8HFsAZl019478>