Searched refs:bpf_cap (Results 1 – 1 of 1) sorted by relevance
2640 bool bpf_cap; in bpf_prog_load() local2676 bpf_cap = bpf_token_capable(token, CAP_BPF); in bpf_prog_load()2681 !bpf_cap) in bpf_prog_load()2691 if (sysctl_unprivileged_bpf_disabled && !bpf_cap) in bpf_prog_load()2695 attr->insn_cnt > (bpf_cap ? BPF_COMPLEXITY_LIMIT_INSNS : BPF_MAXINSNS)) { in bpf_prog_load()2701 !bpf_cap) in bpf_prog_load()