svn commit: r192577 - head/sys/sys
Bjoern A. Zeeb
bz at FreeBSD.org
Fri May 22 09:59:34 UTC 2009
Author: bz
Date: Fri May 22 09:59:34 2009
New Revision: 192577
URL: http://svn.freebsd.org/changeset/base/192577
Log:
Add privileges for Capi4BSD to control:
- controller reset/firmware loading.
- controller level tracing and tracing of capi messages of applications
running with different user credentials.
Reviewed by: rwatson
MFC after: 2 weeks
Modified:
head/sys/sys/priv.h
Modified: head/sys/sys/priv.h
==============================================================================
--- head/sys/sys/priv.h Fri May 22 05:11:03 2009 (r192576)
+++ head/sys/sys/priv.h Fri May 22 09:59:34 2009 (r192577)
@@ -458,9 +458,15 @@
#define PRIV_CPUCTL_UPDATE 641 /* Update cpu microcode. */
/*
+ * Capi4BSD privileges.
+ */
+#define PRIV_C4B_RESET_CTLR 650 /* Load firmware, reset controller. */
+#define PRIV_C4B_TRACE 651 /* Unrestricted CAPI message tracing. */
+
+/*
* Track end of privilege list.
*/
-#define _PRIV_HIGHEST 642
+#define _PRIV_HIGHEST 652
/*
* Validate that a named privilege is known by the privilege system. Invalid
More information about the svn-src-head
mailing list