Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_loader.c82 struct test_subspec unpriv; member
128 free_msgs(&spec->unpriv.expect_msgs); in free_test_spec()
130 free_msgs(&spec->unpriv.expect_xlated); in free_test_spec()
132 free_msgs(&spec->unpriv.jited); in free_test_spec()
135 free(spec->unpriv.name); in free_test_spec()
137 spec->unpriv.name = NULL; in free_test_spec()
419 spec->unpriv.expect_failure = true; in parse_test_spec()
423 spec->unpriv.expect_failure = false; in parse_test_spec()
438 err = push_msg(msg, &spec->unpriv.expect_msgs); in parse_test_spec()
461 &spec->unpriv.jited); in parse_test_spec()
[all …]
Dtest_verifier.c1257 static int do_prog_test_run(int fd_prog, bool unpriv, uint32_t expected_val, in do_prog_test_run() argument
1271 if (unpriv) in do_prog_test_run()
1276 if (unpriv) in do_prog_test_run()
1285 if (unpriv) { in do_prog_test_run()
1508 static void do_test_single(struct bpf_test *test, bool unpriv, in do_test_single() argument
1560 expected_ret = unpriv && test->result_unpriv != UNDEF ? in do_test_single()
1562 expected_err = unpriv && test->errstr_unpriv ? in do_test_single()
1654 if (!unpriv && test->insn_processed) { in do_test_single()
1683 if (unpriv && test->retvals[i].retval_unpriv) in do_test_single()
1688 err = do_prog_test_run(fd_prog, unpriv, expected_val, in do_test_single()
[all …]
/linux-6.12.1/tools/testing/selftests/kmod/
Dkmod.sh472 local unpriv=$(capsh --drop=CAP_SYSLOG -- -c "$cmd")
474 if [ "$priv" = "$unpriv" ] || \
477 echo "${FUNCNAME[0]}: FAIL, $name visible to unpriv: '$priv' vs '$unpriv'" >&2
/linux-6.12.1/arch/parisc/include/asm/
Dhardware.h63 volatile uint32_t unpriv[512]; member
/linux-6.12.1/include/linux/
Dbpf_verifier.h527 bool unpriv; member
/linux-6.12.1/net/netfilter/ipvs/
Dip_vs_ctl.c4273 bool unpriv = net->user_ns != &init_user_ns; in ip_vs_control_net_init_sysctl() local
4315 if (unpriv) in ip_vs_control_net_init_sysctl()
4320 if (unpriv) in ip_vs_control_net_init_sysctl()
4348 if (unpriv) in ip_vs_control_net_init_sysctl()
4354 if (unpriv) in ip_vs_control_net_init_sysctl()
4360 if (unpriv) in ip_vs_control_net_init_sysctl()
/linux-6.12.1/kernel/bpf/
Dverifier.c214 return aux->map_ptr_state.unpriv; in bpf_map_ptr_unpriv()
219 bool unpriv, bool poison) in bpf_map_ptr_store() argument
221 unpriv |= bpf_map_ptr_unpriv(aux); in bpf_map_ptr_store()
222 aux->map_ptr_state.unpriv = unpriv; in bpf_map_ptr_store()
/linux-6.12.1/tools/testing/selftests/landlock/
Dfs_test.c824 TEST_F_FORK(layout0, unpriv) in TEST_F_FORK() argument