Home
last modified time | relevance | path

Searched refs:CAP_NET_BIND_SERVICE (Results 1 – 14 of 14) sorted by relevance

/external/ltp/testcases/kernel/syscalls/prctl/
Dprctl07.c57 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/
Dtest_execve.c268 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 …]
Dvalidate_cap.c57 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/
Dcaps0.h11 CAP_NET_BIND_SERVICE,
/external/strace/xlat/
Dcap_mask0.in12 1<<CAP_NET_BIND_SERVICE
Dcap.in12 CAP_NET_BIND_SERVICE
Dcap_mask0.h27 XLAT_PAIR(1ULL<<CAP_NET_BIND_SERVICE, "1<<CAP_NET_BIND_SERVICE"),
Dcap.h27 XLAT(CAP_NET_BIND_SERVICE),
/external/libcap-ng/libcap-ng-0.7/src/
Dcaptab.h33 _S(CAP_NET_BIND_SERVICE, "net_bind_service" )
/external/libcap-ng/libcap-ng-0.7/bindings/python/
Dcapng.py80 CAP_NET_BIND_SERVICE = _capng.CAP_NET_BIND_SERVICE variable
/external/libcap/libcap/include/uapi/linux/
Dcapability.h183 #define CAP_NET_BIND_SERVICE 10 macro
/external/kernel-headers/original/uapi/linux/
Dcapability.h183 #define CAP_NET_BIND_SERVICE 10 macro
/external/libcap/doc/
Dcapability.notes38 CAP_NET_BIND_SERVICE capability. Coupled with not having any files on
/external/dnsmasq/src/
Ddnsmasq.c367 (1 << CAP_NET_BIND_SERVICE) | in main()
391 (1 << CAP_NET_BIND_SERVICE) | in main()