Home
last modified time | relevance | path

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

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