Home
last modified time | relevance | path

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

/linux/tools/bpf/bpftool/
H A Dfeature.c1056 unsigned int i, nb_bpf_caps = 0; in handle_perms() local
1086 cap_list[nb_bpf_caps++] = cap; in handle_perms()
1097 if ((run_as_unprivileged && !nb_bpf_caps) || in handle_perms()
1098 (!run_as_unprivileged && nb_bpf_caps == ARRAY_SIZE(bpf_caps)) || in handle_perms()
1099 (!run_as_unprivileged && cap_sys_admin_only && nb_bpf_caps)) { in handle_perms()
1124 if (cap_set_flag(caps, CAP_EFFECTIVE, nb_bpf_caps, cap_list, in handle_perms()