Searched refs:CAP_NET_BIND_SERVICE (Results 1 – 14 of 14) sorted by relevance
/external/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl07.c | 57 if (cap_num == (1 << CAP_NET_BIND_SERVICE)) in check_proc_capamb() 122 cap_value_t caplist[3] = {CAP_NET_RAW, CAP_NET_BIND_SERVICE, CAP_SETPCAP}; in verify_prctl() 134 check_cap_raise(CAP_NET_BIND_SERVICE, "on non-inheritable cap", 1); in verify_prctl() 144 check_cap_raise(CAP_NET_BIND_SERVICE, "because of NO_RAISE_SECBIT set", 1); in verify_prctl() 147 check_cap_raise(CAP_NET_BIND_SERVICE, "CAP_NET_BIND_SERVICE", 0); in verify_prctl() 149 check_cap_raise(CAP_NET_BIND_SERVICE, "CAP_NET_BIND_SERIVCE twice", 0); in verify_prctl() 153 check_cap_is_set(CAP_NET_BIND_SERVICE, "CAP_NET_BIND_SERVICE was", 1); in verify_prctl() 157 check_cap_lower(CAP_NET_BIND_SERVICE, "CAP_NET_BIND_SERVICE(it was in ambient set)"); in verify_prctl() 160 prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_BIND_SERVICE, 0, 0, 0); in verify_prctl()
|
/external/linux-kselftest/tools/testing/selftests/capabilities/ |
D | test_execve.c | 268 capng_update(CAPNG_DROP, CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE); in do_tests() 285 …if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_BIND_SERVICE, 0, 0, 0) != -1 || errno != E… in do_tests() 310 capng_update(CAPNG_ADD, CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE); in do_tests() 313 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_BIND_SERVICE, 0, 0, 0) != 0) { in do_tests() 320 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != 1) { in do_tests() 329 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != 0) { in do_tests() 335 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_BIND_SERVICE, 0, 0, 0) != 0) in do_tests() 339 capng_update(CAPNG_DROP, CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE); in do_tests() 343 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != 0) { in do_tests() 350 capng_update(CAPNG_ADD, CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE); in do_tests() [all …]
|
D | validate_cap.c | 57 if (capng_have_capability(CAPNG_EFFECTIVE, CAP_NET_BIND_SERVICE) != bool_arg(argv, 1)) { in main() 62 if (capng_have_capability(CAPNG_PERMITTED, CAP_NET_BIND_SERVICE) != bool_arg(argv, 2)) { in main() 67 if (capng_have_capability(CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE) != bool_arg(argv, 3)) { in main() 72 …if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != bool_arg(argv, … in main()
|
/external/strace/ |
D | caps0.h | 11 CAP_NET_BIND_SERVICE,
|
/external/strace/xlat/ |
D | cap_mask0.in | 12 1<<CAP_NET_BIND_SERVICE
|
D | cap.in | 12 CAP_NET_BIND_SERVICE
|
D | cap_mask0.h | 27 XLAT_PAIR(1ULL<<CAP_NET_BIND_SERVICE, "1<<CAP_NET_BIND_SERVICE"),
|
D | cap.h | 27 XLAT(CAP_NET_BIND_SERVICE),
|
/external/libcap-ng/libcap-ng-0.7/src/ |
D | captab.h | 33 _S(CAP_NET_BIND_SERVICE, "net_bind_service" )
|
/external/libcap-ng/libcap-ng-0.7/bindings/python/ |
D | capng.py | 80 CAP_NET_BIND_SERVICE = _capng.CAP_NET_BIND_SERVICE variable
|
/external/libcap/libcap/include/uapi/linux/ |
D | capability.h | 183 #define CAP_NET_BIND_SERVICE 10 macro
|
/external/kernel-headers/original/uapi/linux/ |
D | capability.h | 183 #define CAP_NET_BIND_SERVICE 10 macro
|
/external/libcap/doc/ |
D | capability.notes | 38 CAP_NET_BIND_SERVICE capability. Coupled with not having any files on
|
/external/dnsmasq/src/ |
D | dnsmasq.c | 367 (1 << CAP_NET_BIND_SERVICE) | in main() 391 (1 << CAP_NET_BIND_SERVICE) | in main()
|