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:
Robert Watson 2011-08-13 13:34:01 +00:00
parent 73516dbd27
commit 854d7b9fc8

View File

@ -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