Home
last modified time | relevance | path

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

/external/libcap-ng/libcap-ng-0.7/src/test/
Dlib_test.c64 rc = capng_update(CAPNG_ADD, CAPNG_EFFECTIVE, i); in main()
83 rc = capng_update(CAPNG_ADD, CAPNG_BOUNDING_SET, i); in main()
133 rc = capng_update(CAPNG_ADD, CAPNG_EFFECTIVE, i); in main()
147 rc = capng_updatev(CAPNG_ADD, CAPNG_EFFECTIVE, in main()
/external/libcap-ng/libcap-ng-0.7/bindings/python/test/
Dcapng-test.py32 rc = capng.capng_update(capng.CAPNG_ADD, capng.CAPNG_EFFECTIVE, i)
58 rc = capng.capng_update(capng.CAPNG_ADD, capng.CAPNG_EFFECTIVE, i)
/external/linux-kselftest/tools/testing/selftests/capabilities/
Dtest_execve.c115 capng_update(CAPNG_ADD, CAPNG_EFFECTIVE, i); in create_and_enter_ns()
297 capng_update(CAPNG_ADD, CAPNG_INHERITABLE, CAP_NET_RAW); in do_tests()
310 capng_update(CAPNG_ADD, CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE); in do_tests()
350 capng_update(CAPNG_ADD, CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE); in do_tests()
/external/libcap-ng/libcap-ng-0.7/src/
Dcap-ng.c350 if (action == CAPNG_ADD) in v1_update()
359 if (action == CAPNG_ADD) in update_effective()
368 if (action == CAPNG_ADD) in update_permitted()
377 if (action == CAPNG_ADD) in update_inheritable()
387 if (action == CAPNG_ADD) in update_bounding_set()
578 capng_update(CAPNG_ADD, in capng_change_id()
585 capng_update(CAPNG_ADD, CAPNG_EFFECTIVE|CAPNG_PERMITTED, in capng_change_id()
592 capng_update(CAPNG_ADD, CAPNG_EFFECTIVE|CAPNG_PERMITTED, in capng_change_id()
Dcap-ng.h38 typedef enum { CAPNG_DROP, CAPNG_ADD } capng_act_t; enumerator
/external/libcap-ng/libcap-ng-0.7/bindings/python/
Dcapng.py108 CAPNG_ADD = _capng.CAPNG_ADD variable
/external/libcap-ng/libcap-ng-0.7/utils/
Dfilecap.c136 capng_update(CAPNG_ADD, in main()
Dcaptest.c244 capng_update(CAPNG_ADD, CAPNG_EFFECTIVE|CAPNG_PERMITTED, in main()
/external/tcpdump/
Dtcpdump.c1814 CAPNG_ADD, in main()
1822 CAPNG_ADD, in main()
1830 CAPNG_ADD, in main()
2358 capng_update(CAPNG_ADD, CAPNG_EFFECTIVE, CAP_DAC_OVERRIDE); in dump_packet_and_trunc()
2430 capng_update(CAPNG_ADD, CAPNG_EFFECTIVE, CAP_DAC_OVERRIDE); in dump_packet_and_trunc()
/external/selinux/policycoreutils/newrole/
Dnewrole.c567 capng_update(CAPNG_ADD, CAPNG_EFFECTIVE | CAPNG_PERMITTED, CAP_AUDIT_WRITE); in drop_capabilities()
609 …capng_updatev(CAPNG_ADD, CAPNG_EFFECTIVE | CAPNG_PERMITTED, CAP_SYS_ADMIN , CAP_FOWNER , CAP_CHOWN… in drop_capabilities()