/external/libcap-ng/libcap-ng-0.7/docs/ |
capng_update.3 | 1 .TH "CAPNG_UPDATE" "3" "June 2009" "Red Hat" "Libcap-ng API" 3 capng_update \- update the stored capabilities settings 7 int capng_update(capng_act_t action, capng_type_t type,unsigned int capability); 11 capng_update will update the internal posix capabilities settings based on the options passed to it. The action should be eith CAPNG_DROP to set the capability bit to 0, or CAPNG_ADD to set the capability bit to 1. The operation is performed on the capability set specified in the type parameter. The values are: CAPNG_EFFECTIVE, CAPNG_PERMITTED, CAPNG_INHERITABLE, CAPNG_BOUNDING_SET. The values may be or'ed together to perform the same operation on multiple sets. The last paramter, capability, is the capability define as given in linux/capability.h.
|
capng_name_to_capability.3 | 11 capng_name_to_capability will take the string being passed and look it up to see what its integer value would be. The string being input is the same name as the define in linux/capabiliy.h with the CAP_ prefix removed. The string case does not matter. The integer that is output is the same as the define would be from linux/capabiliy.h. This is useful for taking string input and converting to something that can be used with capng_update.
|
Makefile.am | 28 capng_get_caps_process.3 capng_update.3 capng_updatev.3 \
|
capng_updatev.3 | 14 This function differs from capng_update in that you may pass a list of capabilities. This list must be terminated with a -1 value. 22 .BR capng_update (3),
|
capng_change_id.3 | 11 This function will change uid and gid to the ones given while retaining the capabilities previously specified in capng_update. It is not necessary and perhaps better if capng_apply has not been called prior to this function so that all necessary privileges are still intact. The caller is required to have CAP_SETPCAP capability still active before calling this function. 35 .BR capng_update (3),
|
Makefile.in | 237 capng_get_caps_process.3 capng_update.3 capng_updatev.3 \
|
/external/libcap-ng/libcap-ng-0.7/bindings/python/test/ |
capng-test.py | 32 rc = capng.capng_update(capng.CAPNG_ADD, capng.CAPNG_EFFECTIVE, i) 48 rc = capng.capng_update(capng.CAPNG_DROP, capng.CAPNG_EFFECTIVE, i) 58 rc = capng.capng_update(capng.CAPNG_ADD, capng.CAPNG_EFFECTIVE, i)
|
/external/libcap-ng/libcap-ng-0.7/src/test/ |
lib_test.c | 64 rc = capng_update(CAPNG_ADD, CAPNG_EFFECTIVE, i); 83 rc = capng_update(CAPNG_ADD, CAPNG_BOUNDING_SET, i); 120 rc = capng_update(CAPNG_DROP, CAPNG_EFFECTIVE, i); 133 rc = capng_update(CAPNG_ADD, CAPNG_EFFECTIVE, i);
|
/external/libcap-ng/libcap-ng-0.7/bindings/python/ |
capng.py | 142 def capng_update(*args): function 143 return _capng.capng_update(*args) 144 capng_update = _capng.capng_update variable
|
/external/libcap-ng/libcap-ng-0.7/src/ |
cap-ng.c | 394 int capng_update(capng_act_t action, capng_type_t type, unsigned int capability) function 441 rc = capng_update(action, type, capability); 447 rc = capng_update(action, type, cap); 578 capng_update(CAPNG_ADD, 585 capng_update(CAPNG_ADD, CAPNG_EFFECTIVE|CAPNG_PERMITTED, 592 capng_update(CAPNG_ADD, CAPNG_EFFECTIVE|CAPNG_PERMITTED, 640 capng_update(CAPNG_DROP, CAPNG_EFFECTIVE|CAPNG_PERMITTED, 643 capng_update(CAPNG_DROP, CAPNG_EFFECTIVE|CAPNG_PERMITTED, 647 capng_update(CAPNG_DROP, CAPNG_EFFECTIVE|CAPNG_PERMITTED,
|
cap-ng.h | 55 int capng_update(capng_act_t action, capng_type_t type,unsigned int capability);
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
captest.c | 244 capng_update(CAPNG_ADD, CAPNG_EFFECTIVE|CAPNG_PERMITTED,
|
filecap.c | 136 capng_update(CAPNG_ADD,
|
/external/tcpdump/ |
tcpdump.c | [all...] |
/external/dbus/bus/ |
selinux.c | 1056 capng_update (CAPNG_ADD, CAPNG_EFFECTIVE | CAPNG_PERMITTED,
|
/external/selinux/policycoreutils/newrole/ |
newrole.c | 568 capng_update(CAPNG_ADD, CAPNG_EFFECTIVE | CAPNG_PERMITTED, CAP_AUDIT_WRITE); [all...] |