Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/prctl/
Dprctl07.c95 cap_value_t caplist[3] = {CAP_NET_RAW, CAP_NET_BIND_SERVICE, CAP_SETPCAP}; in verify_prctl()
108 check_cap_raise(CAP_NET_BIND_SERVICE, "on non-inheritable cap", 1); in verify_prctl()
118 check_cap_raise(CAP_NET_BIND_SERVICE, "because of NO_RAISE_SECBIT set", 1); in verify_prctl()
121 check_cap_raise(CAP_NET_BIND_SERVICE, "CAP_NET_BIND_SERVICE", 0); in verify_prctl()
123 check_cap_raise(CAP_NET_BIND_SERVICE, "CAP_NET_BIND_SERIVCE twice", 0); in verify_prctl()
128 check_cap_is_set(CAP_NET_BIND_SERVICE, "CAP_NET_BIND_SERVICE was", 1); in verify_prctl()
132 check_cap_lower(CAP_NET_BIND_SERVICE, "CAP_NET_BIND_SERVICE(it was in ambient set)"); in verify_prctl()
137 prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_BIND_SERVICE, 0, 0, 0); in verify_prctl()
/third_party/musl/porting/liteos_a/user/src/linux/
Dcap.c40 CAP_KILL, CAP_SETGID, CAP_SETUID, CAP_SETPCAP, CAP_NET_BIND_SERVICE,
87 case CAP_NET_BIND_SERVICE: in linux_caps_to_ohos()
161 result |= 1 << CAP_NET_BIND_SERVICE; in ohos_caps_to_linux()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dcapset.c41 cap_mask |= (1 << CAP_NET_BIND_SERVICE); in capset_0100()
/third_party/rust/crates/rustix/src/thread/
Dprctl.rs172 const CAP_NET_BIND_SERVICE: u32 = 10; constant
249 NetBindService = CAP_NET_BIND_SERVICE,
/third_party/e2fsprogs/
D1003-add-dac-config.patch97 + { "CAP_NET_BIND_SERVICE", CAP_NET_BIND_SERVICE },
/third_party/node/src/
Dnode_credentials.cc83 if ((!HasOnly(CAP_NET_BIND_SERVICE) && linux_at_secure()) || in SafeGetenv()