Update use of the FEATURE() macro in sys_capability.c to reflect the move
to two different kernel options for capability mode vs. capabilities. Approved by: re (bz)
This commit is contained in:
parent
73516dbd27
commit
854d7b9fc8
@ -76,7 +76,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#ifdef CAPABILITY_MODE
|
||||
|
||||
FEATURE(security_capabilities, "Capsicum Capability Mode");
|
||||
FEATURE(security_capability_mode, "Capsicum Capability Mode");
|
||||
|
||||
/*
|
||||
* System call to enter capability mode for the process.
|
||||
@ -134,6 +134,8 @@ cap_getmode(struct thread *td, struct cap_getmode_args *uap)
|
||||
|
||||
#ifdef CAPABILITIES
|
||||
|
||||
FEATURE(security_capabilities, "Capsicum Capabilities");
|
||||
|
||||
/*
|
||||
* struct capability describes a capability, and is hung off of its struct
|
||||
* file f_data field. cap_file and cap_rightss are static once hooked up, as
|
||||
|
Loading…
Reference in New Issue
Block a user