summaryrefslogtreecommitdiffstats
path: root/sys/sys/priv.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-07-30 08:41:06 +0000
committerrwatson <rwatson@FreeBSD.org>2009-07-30 08:41:06 +0000
commit35df0185398d8bb7a3c77ee5564c3585b8351443 (patch)
tree9ab16d64b39def931f8b12bf7eb8a125f52282a5 /sys/sys/priv.h
parentf688e04d86d4793ac4204f3914cb525ceac72e94 (diff)
downloadFreeBSD-src-35df0185398d8bb7a3c77ee5564c3585b8351443.zip
FreeBSD-src-35df0185398d8bb7a3c77ee5564c3585b8351443.tar.gz
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)
Diffstat (limited to 'sys/sys/priv.h')
-rw-r--r--sys/sys/priv.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/sys/priv.h b/sys/sys/priv.h
index 4fa5e3e..c8ccfa6 100644
--- a/sys/sys/priv.h
+++ b/sys/sys/priv.h
@@ -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
OpenPOWER on IntegriCloud