Home
last modified time | relevance | path

Searched refs:CAPNG_SELECT_CAPS (Results 1 – 13 of 13) sorted by relevance

/external/libcap-ng/libcap-ng-0.7/src/test/
Dlib_test.c49 text = capng_print_caps_numeric(CAPNG_PRINT_BUFFER, CAPNG_SELECT_CAPS); in main()
73 CAPNG_SELECT_CAPS); in main()
76 if(capng_have_capabilities(CAPNG_SELECT_CAPS)!=CAPNG_PARTIAL){ in main()
79 CAPNG_SELECT_CAPS); in main()
126 if(capng_have_capabilities(CAPNG_SELECT_CAPS)!=CAPNG_PARTIAL){ in main()
129 CAPNG_SELECT_CAPS); in main()
138 if (capng_have_capabilities(CAPNG_SELECT_CAPS) != CAPNG_FULL){ in main()
141 CAPNG_SELECT_CAPS); in main()
159 CAPNG_SELECT_CAPS); in main()
Dthread_test.c18 if (capng_have_capabilities(CAPNG_SELECT_CAPS) < CAPNG_FULL) { in thread1_main()
35 if (capng_have_capabilities(CAPNG_SELECT_CAPS) != CAPNG_NONE) { in thread2_main()
/external/libcap-ng/libcap-ng-0.7/bindings/python/test/
Dcapng-test.py24 text = capng.capng_print_caps_numeric(capng.CAPNG_PRINT_BUFFER, capng.CAPNG_SELECT_CAPS)
40 capng.capng_print_caps_numeric(capng.CAPNG_PRINT_STDOUT, capng.CAPNG_SELECT_CAPS)
43 if capng.capng_have_capabilities(capng.CAPNG_SELECT_CAPS) != capng.CAPNG_PARTIAL:
53 if capng.capng_have_capabilities(capng.CAPNG_SELECT_CAPS)!=capng.CAPNG_PARTIAL:
55 capng.capng_print_caps_numeric(capng.CAPNG_PRINT_STDOUT, capng.CAPNG_SELECT_CAPS)
63 if capng.capng_have_capabilities(capng.CAPNG_SELECT_CAPS) != capng.CAPNG_FULL:
65 capng.capng_print_caps_numeric(capng.CAPNG_PRINT_STDOUT, capng.CAPNG_SELECT_CAPS)
/external/libcap-ng/libcap-ng-0.7/utils/
Dcaptest.c95 if (capng_have_capabilities(CAPNG_SELECT_CAPS) == CAPNG_NONE) { in report()
127 if (capng_have_capabilities(CAPNG_SELECT_CAPS) == CAPNG_NONE) { in report()
234 capng_clear(CAPNG_SELECT_CAPS); in main()
237 capng_apply(CAPNG_SELECT_CAPS); in main()
Dpscap.c118 caps = capng_have_capabilities(CAPNG_SELECT_CAPS); in main()
Dfilecap.c58 rc = capng_have_capabilities(CAPNG_SELECT_CAPS); in check_file()
Dnetcap.c101 caps = capng_have_capabilities(CAPNG_SELECT_CAPS); in collect_process_info()
/external/linux-kselftest/tools/testing/selftests/capabilities/
Dtest_execve.c116 if (capng_apply(CAPNG_SELECT_CAPS) != 0) in create_and_enter_ns()
269 if (capng_apply(CAPNG_SELECT_CAPS) != 0) in do_tests()
300 if (capng_apply(CAPNG_SELECT_CAPS) != 0) in do_tests()
311 if (capng_apply(CAPNG_SELECT_CAPS) != 0) in do_tests()
340 if (capng_apply(CAPNG_SELECT_CAPS) != 0) in do_tests()
351 if (capng_apply(CAPNG_SELECT_CAPS) != 0) in do_tests()
/external/libcap-ng/libcap-ng-0.7/src/
Dcap-ng.c180 if (set & CAPNG_SELECT_CAPS) in capng_clear()
196 if (set & CAPNG_SELECT_CAPS) { in capng_fill()
493 if (set & CAPNG_SELECT_CAPS) { in capng_apply()
549 if (capng_have_capabilities(CAPNG_SELECT_CAPS) == CAPNG_NONE) in capng_apply_caps_fd()
601 rc = capng_apply(CAPNG_SELECT_CAPS); in capng_change_id()
649 rc = capng_apply(CAPNG_SELECT_CAPS); in capng_change_id()
686 if (set & CAPNG_SELECT_CAPS) { in capng_have_capabilities()
818 if (set & CAPNG_SELECT_CAPS) { in capng_print_caps_numeric()
845 if (set & CAPNG_SELECT_CAPS) { in capng_print_caps_numeric()
Dcap-ng.h41 typedef enum { CAPNG_SELECT_CAPS = 16, CAPNG_SELECT_BOUNDS = 32, enumerator
/external/libcap-ng/libcap-ng-0.7/bindings/python/
Dcapng.py113 CAPNG_SELECT_CAPS = _capng.CAPNG_SELECT_CAPS variable
/external/selinux/policycoreutils/newrole/
Dnewrole.c548 capng_clear(CAPNG_SELECT_CAPS); in drop_capabilities()
568 return capng_apply(CAPNG_SELECT_CAPS); in drop_capabilities()
590 capng_clear(CAPNG_SELECT_CAPS); in drop_capabilities()
611 return capng_apply(CAPNG_SELECT_CAPS); in drop_capabilities()
/external/selinux/sandbox/
Dseunshare.c60 static capng_select_t cap_set = CAPNG_SELECT_CAPS;
686 cap_set = CAPNG_SELECT_CAPS; in main()