Home
last modified time | relevance | path

Searched refs:CAP_BPF (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/
Dcap_helpers.h12 #ifndef CAP_BPF
13 #define CAP_BPF 39 macro
Dtest_loader.c416 1ULL << CAP_PERFMON | 1ULL << CAP_BPF); in drop_capabilities()
Dtest_verifier.c74 1ULL << CAP_BPF)
/linux-6.6.21/tools/bpf/bpftool/
Dfeature.c1052 #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()
/linux-6.6.21/include/uapi/linux/
Dcapability.h412 #define CAP_BPF 39 macro
/linux-6.6.21/include/linux/
Dcapability.h202 return capable(CAP_BPF) || capable(CAP_SYS_ADMIN); in bpf_capable()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dunpriv_bpf_disabled.c17 #define ALL_CAPS ((2ULL << CAP_BPF) - 1)
Dtc_bpf.c405 ret = cap_enable_effective(1ULL << CAP_BPF | 1ULL << CAP_NET_ADMIN, &caps); in tc_bpf_non_root()
/linux-6.6.21/Documentation/admin-guide/sysctl/
Dnet.rst106 CAP_BPF or CAP_SYS_ADMIN in the root user name space.
Dkernel.rst1588 once disabled, calling ``bpf()`` without ``CAP_SYS_ADMIN`` or ``CAP_BPF``