svn commit: r195970 - head/sys/sys

[ Available lists | Index of svn-src-head | Month of Jul 2009 | Week of 30 Jul 2009 | Raw email | View thread | Wrap long lines | Reply ]
From
Robert Watson <rwatson@FreeBSD.org>
Date
30 Jul 2009 08:41:07
Subject
svn commit: r195970 - head/sys/sys
Message-ID
200907300841.n6U8f6EL097015@svn.freebsd.org


[ Hide this part ]
Author: rwatson
Date: Thu Jul 30 08:41:06 2009
New Revision: 195970
URL: http://svn.freebsd.org/changeset/base/195970

Log:
Add two new privileges for use by OpenAFS, which will be supported for
FreeBSD 8.x.

MFC after: 3 days
Submitted by: Benjamin Kaduk <kaduk at MIT.EDU>
Approved by: re (kib)

Modified:
head/sys/sys/priv.h

Modified: head/sys/sys/priv.h
==============================================================================
--- head/sys/sys/priv.h Thu Jul 30 05:36:31 2009 (r195969)
+++ head/sys/sys/priv.h Thu Jul 30 08:41:06 2009 (r195970)
@@ -476,9 +476,15 @@
#define PRIV_C4B_TRACE 651 /* Unrestricted CAPI message tracing. */

/*
+ * OpenAFS privileges.
+ */
+#define PRIV_AFS_ADMIN 660 /* Can change AFS client settings. */
+#define PRIV_AFS_DAEMON 661 /* Can become the AFS daemon. */
+
+/*
* Track end of privilege list.
*/
-#define _PRIV_HIGHEST 652
+#define _PRIV_HIGHEST 662

/*
* Validate that a named privilege is known by the privilege system. Invalid

Elapsed time: 0.148 seconds