Home
last modified time | relevance | path

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

/openbmc/linux/tools/bpf/bpftool/
H A Dfeature.c1059 unsigned int i, nb_bpf_caps = 0; in handle_perms() local
1089 cap_list[nb_bpf_caps++] = cap; in handle_perms()
1100 if ((run_as_unprivileged && !nb_bpf_caps) || in handle_perms()
1101 (!run_as_unprivileged && nb_bpf_caps == ARRAY_SIZE(bpf_caps)) || in handle_perms()
1102 (!run_as_unprivileged && cap_sys_admin_only && nb_bpf_caps)) { in handle_perms()
1127 if (cap_set_flag(caps, CAP_EFFECTIVE, nb_bpf_caps, cap_list, in handle_perms()