Searched refs:bpf_cap (Results 1 - 1 of 1) sorted by relevance

/linux-master/kernel/bpf/
H A Dsyscall.c2689 bool bpf_cap; local
2725 bpf_cap = bpf_token_capable(token, CAP_BPF);
2730 !bpf_cap)
2740 if (sysctl_unprivileged_bpf_disabled && !bpf_cap)
2744 attr->insn_cnt > (bpf_cap ? BPF_COMPLEXITY_LIMIT_INSNS : BPF_MAXINSNS)) {
2750 !bpf_cap)

Completed in 166 milliseconds