From owner-svn-src-all@FreeBSD.ORG Sat Feb 28 10:44:39 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD8D0106564A; Sat, 28 Feb 2009 10:44:39 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id BCCD98FC27; Sat, 28 Feb 2009 10:44:39 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1SAid9R006330; Sat, 28 Feb 2009 10:44:39 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1SAidBK006329; Sat, 28 Feb 2009 10:44:39 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <200902281044.n1SAidBK006329@svn.freebsd.org> From: Robert Watson Date: Sat, 28 Feb 2009 10:44:39 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189153 - head/sys/sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2009 10:44:40 -0000 Author: rwatson Date: Sat Feb 28 10:44:39 2009 New Revision: 189153 URL: http://svn.freebsd.org/changeset/base/189153 Log: Remove PRIV_ROOT -- all system privileges must now be explicitly named in support of forthcoming work on a fine-grained privilege mechanism. Facilitated by: bz, thompsa, rink Modified: head/sys/sys/priv.h Modified: head/sys/sys/priv.h ============================================================================== --- head/sys/sys/priv.h Sat Feb 28 10:43:10 2009 (r189152) +++ head/sys/sys/priv.h Sat Feb 28 10:44:39 2009 (r189153) @@ -52,13 +52,7 @@ /* * Track beginning of privilege list. */ -#define _PRIV_LOWEST 0 - -/* - * PRIV_ROOT is a catch-all for as yet unnamed privileges. No new - * references to this privilege should be added. - */ -#define PRIV_ROOT 1 /* Catch-all during development. */ +#define _PRIV_LOWEST 1 /* * The remaining privileges typically correspond to one or a small @@ -67,6 +61,7 @@ * privileges, such as the ability to reboot, and then loosely by * subsystem, indicated by a subsystem name. */ +#define _PRIV_ROOT 1 /* Removed. */ #define PRIV_ACCT 2 /* Manage process accounting. */ #define PRIV_MAXFILES 3 /* Exceed system open files limit. */ #define PRIV_MAXPROC 4 /* Exceed system processes limit. */