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
This commit is contained in:
parent
92f7f12bca
commit
9ce13065db
@ -457,10 +457,16 @@
|
||||
#define PRIV_CPUCTL_WRMSR 640 /* Write model-specific register. */
|
||||
#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
|
||||
|
Loading…
x
Reference in New Issue
Block a user