Home
last modified time | relevance | path

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

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