Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A Dfeature.c43 static bool run_as_unprivileged; variable
501 if (run_as_unprivileged && errno == EPERM) in probe_prog_type()
572 if (run_as_unprivileged && errno == EPERM) in probe_helper_for_progtype()
831 if ((run_as_unprivileged && !nb_bpf_caps) || in handle_perms()
832 (!run_as_unprivileged && nb_bpf_caps == ARRAY_SIZE(bpf_caps)) || in handle_perms()
833 (!run_as_unprivileged && cap_sys_admin_only && nb_bpf_caps)) { in handle_perms()
839 if (!run_as_unprivileged) { in handle_perms()
857 /* if (run_as_unprivileged && nb_bpf_caps > 0), drop capabilities. */ in handle_perms()
951 run_as_unprivileged = true; in do_probe()
/kernel/linux/linux-6.6/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()
1126 /* if (run_as_unprivileged && nb_bpf_caps > 0), drop capabilities. */ in handle_perms()
1220 run_as_unprivileged = true; in do_probe()

Completed in 5 milliseconds