Searched refs:CAP_NET_ADMIN (Results 1 – 10 of 10) sorted by relevance
10 __caps_unpriv(CAP_BPF|CAP_NET_ADMIN)
144 #define CAP_NET_ADMIN 12 macro
215 ret = cap_get_flag(self->caps, CAP_NET_ADMIN, CAP_EFFECTIVE, &tmp); in TEST_F()231 cap_value_t net_admin[] = { CAP_NET_ADMIN }; in TEST_F()
45 CAP_NET_ADMIN, in _init_caps()
84 set_ambient_cap(_metadata, CAP_NET_ADMIN); in setup_loopback()86 clear_ambient_cap(_metadata, CAP_NET_ADMIN); in setup_loopback()
405 ret = cap_enable_effective(1ULL << CAP_BPF | 1ULL << CAP_NET_ADMIN, &caps); in tc_bpf_non_root()
62 (1ULL << CAP_NET_ADMIN) | in drop_priv_caps()
1074 capability(CAP_NET_ADMIN), in handle_perms()
784 const __u64 caps_to_drop = (1ULL << CAP_SYS_ADMIN | 1ULL << CAP_NET_ADMIN | in drop_capabilities()
69 #define ADMIN_CAPS (1ULL << CAP_NET_ADMIN | \
Completed in 54 milliseconds