From owner-cvs-src@FreeBSD.ORG Wed Sep 17 15:54:11 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D4DC106566B; Wed, 17 Sep 2008 15:54:11 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EB4F58FC1A; Wed, 17 Sep 2008 15:54:10 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m8HFsAgC019486; Wed, 17 Sep 2008 15:54:10 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m8HFsAZl019478; Wed, 17 Sep 2008 15:54:10 GMT (envelope-from attilio@repoman.freebsd.org) Message-Id: <200809171554.m8HFsAZl019478@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to attilio@repoman.freebsd.org using -f From: Attilio Rao Date: Wed, 17 Sep 2008 15:49:44 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: 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 ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2008 15:54:11 -0000 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 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