Home
last modified time | relevance | path

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

/Linux-v5.15/tools/bpf/bpftool/
Dfeature.c785 } bpf_caps[] = { in handle_perms() local
793 cap_value_t cap_list[ARRAY_SIZE(bpf_caps)]; in handle_perms()
812 for (i = 0; i < ARRAY_SIZE(bpf_caps); i++) { in handle_perms()
813 const char *cap_name = bpf_caps[i].name; in handle_perms()
814 cap_value_t cap = bpf_caps[i].cap; in handle_perms()
823 bpf_caps[i].set = true; in handle_perms()
836 (!run_as_unprivileged && nb_bpf_caps == ARRAY_SIZE(bpf_caps)) || in handle_perms()
846 bpf_caps[0].name); in handle_perms()
849 capability_msg(bpf_caps, 0), in handle_perms()
851 capability_msg(bpf_caps, 1), in handle_perms()
[all …]