Home
last modified time | relevance | path

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

/linux-6.15/tools/bpf/bpftool/
H A Dfeature.c1079 unsigned int i, nb_bpf_caps = 0; in handle_perms() local
1109 cap_list[nb_bpf_caps++] = cap; in handle_perms()
1120 if ((run_as_unprivileged && !nb_bpf_caps) || in handle_perms()
1121 (!run_as_unprivileged && nb_bpf_caps == ARRAY_SIZE(bpf_caps)) || in handle_perms()
1122 (!run_as_unprivileged && cap_sys_admin_only && nb_bpf_caps)) { in handle_perms()
1147 if (cap_set_flag(caps, CAP_EFFECTIVE, nb_bpf_caps, cap_list, in handle_perms()