Home
last modified time | relevance | path

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

/Linux-v5.10/tools/bpf/bpftool/
Dfeature.c781 } bpf_caps[] = { in handle_perms() local
789 cap_value_t cap_list[ARRAY_SIZE(bpf_caps)]; in handle_perms()
808 for (i = 0; i < ARRAY_SIZE(bpf_caps); i++) { in handle_perms()
809 const char *cap_name = bpf_caps[i].name; in handle_perms()
810 cap_value_t cap = bpf_caps[i].cap; in handle_perms()
819 bpf_caps[i].set = true; in handle_perms()
832 (!run_as_unprivileged && nb_bpf_caps == ARRAY_SIZE(bpf_caps)) || in handle_perms()
842 bpf_caps[0].name); in handle_perms()
845 capability_msg(bpf_caps, 0), in handle_perms()
847 capability_msg(bpf_caps, 1), in handle_perms()
[all …]