Home
last modified time | relevance | path

Searched refs:capng_have_capability (Results 1 – 10 of 10) sorted by relevance

/external/libcap-ng/libcap-ng-0.7/src/test/
Dlib_test.c69 rc = capng_have_capability(CAPNG_EFFECTIVE, i); in main()
88 rc = capng_have_capability(CAPNG_BOUNDING_SET, i); in main()
153 rc = capng_have_capability(CAPNG_EFFECTIVE, CAP_CHOWN) && in main()
154 capng_have_capability(CAPNG_EFFECTIVE, CAP_FOWNER) && in main()
155 capng_have_capability(CAPNG_EFFECTIVE, CAP_KILL); in main()
/external/libcap-ng/libcap-ng-0.7/bindings/python/
Dcapng.py174 def capng_have_capability(*args): function
175 return _capng.capng_have_capability(*args)
176 capng_have_capability = _capng.capng_have_capability variable
/external/libcap-ng/libcap-ng-0.7/src/
Dcap-ng.c477 if (capng_have_capability(CAPNG_EFFECTIVE, CAP_SETPCAP)) { in capng_apply()
482 if (capng_have_capability(CAPNG_BOUNDING_SET, in capng_apply()
576 if (capng_have_capability(CAPNG_EFFECTIVE, CAP_SETPCAP) == 0 && in capng_change_id()
581 if (gid == -1 || capng_have_capability(CAPNG_EFFECTIVE, CAP_SETGID)) in capng_change_id()
588 if (uid == -1 || capng_have_capability(CAPNG_EFFECTIVE, CAP_SETUID)) in capng_change_id()
768 int capng_have_capability(capng_type_t which, unsigned int capability) in capng_have_capability() function
899 if (capng_have_capability(which, i)) { in capng_print_caps_text()
Dcap-ng.h70 int capng_have_capability(capng_type_t which, unsigned int capability);
/external/libcap-ng/libcap-ng-0.7/docs/
DMakefile.am30 capng_set_caps_fd.3 capng_have_capabilities.3 capng_have_capability.3 \
DMakefile.in239 capng_set_caps_fd.3 capng_have_capabilities.3 capng_have_capability.3 \
/external/libcap-ng/libcap-ng-0.7/bindings/python/test/
Dcapng-test.py37 rc = capng.capng_have_capability(capng.CAPNG_EFFECTIVE, int(i))
/external/libcap-ng/libcap-ng-0.7/utils/
Dcaptest.c71 capng_have_capability(CAPNG_EFFECTIVE, in report()
/external/libcap-ng/libcap-ng-0.7/
DChangeLog59 - Initialize capng_have_capability with capng_get_caps_process if unknown
/external/dbus/bus/
Dselinux.c154 if (capng_have_capability(CAPNG_EFFECTIVE, CAP_AUDIT_WRITE)) in log_callback()