Home
last modified time | relevance | path

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

/linux/tools/bpf/bpftool/
H A Dfeature.c44 static bool run_as_unprivileged; variable
573 if (run_as_unprivileged && errno == EPERM) in probe_prog_type()
699 if (run_as_unprivileged && errno == EPERM) in probe_helper_for_progtype()
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()
1105 if (!run_as_unprivileged) { in handle_perms()
1217 run_as_unprivileged = true; in do_probe()