Searched refs:CAP_BPF (Results 1 – 10 of 10) sorted by relevance
12 #ifndef CAP_BPF13 #define CAP_BPF 39 macro
416 1ULL << CAP_PERFMON | 1ULL << CAP_BPF); in drop_capabilities()
74 1ULL << CAP_BPF)
1052 #ifdef CAP_BPF in handle_perms()1053 capability(CAP_BPF), in handle_perms()1072 #ifdef CAP_BPF in handle_perms()1073 if (CAP_IS_SUPPORTED(CAP_BPF)) in handle_perms()1115 #ifdef CAP_BPF in handle_perms()
412 #define CAP_BPF 39 macro
202 return capable(CAP_BPF) || capable(CAP_SYS_ADMIN); in bpf_capable()
17 #define ALL_CAPS ((2ULL << CAP_BPF) - 1)
405 ret = cap_enable_effective(1ULL << CAP_BPF | 1ULL << CAP_NET_ADMIN, &caps); in tc_bpf_non_root()
106 CAP_BPF or CAP_SYS_ADMIN in the root user name space.
1588 once disabled, calling ``bpf()`` without ``CAP_SYS_ADMIN`` or ``CAP_BPF``