Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A 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, in handle_perms()
[all...]
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dfeature.c1050 } bpf_caps[] = { in handle_perms() local
1058 cap_value_t cap_list[ARRAY_SIZE(bpf_caps)]; in handle_perms()
1077 for (i = 0; i < ARRAY_SIZE(bpf_caps); i++) { in handle_perms()
1078 const char *cap_name = bpf_caps[i].name; in handle_perms()
1079 cap_value_t cap = bpf_caps[i].cap; in handle_perms()
1088 bpf_caps[i].set = true; in handle_perms()
1101 (!run_as_unprivileged && nb_bpf_caps == ARRAY_SIZE(bpf_caps)) || in handle_perms()
1111 bpf_caps[0].name); in handle_perms()
1114 capability_msg(bpf_caps, 0), in handle_perms()
1116 capability_msg(bpf_caps, in handle_perms()
[all...]

Completed in 3 milliseconds