Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_loader.c60 struct test_subspec unpriv; member
91 free(spec->unpriv.name); in free_test_spec()
93 free(spec->unpriv.expect_msgs); in free_test_spec()
96 spec->unpriv.name = NULL; in free_test_spec()
98 spec->unpriv.expect_msgs = NULL; in free_test_spec()
209 spec->unpriv.expect_failure = true; in parse_test_spec()
213 spec->unpriv.expect_failure = false; in parse_test_spec()
230 err = push_msg(msg, &spec->unpriv); in parse_test_spec()
243 err = parse_retval(val, &spec->unpriv.retval, "__retval_unpriv"); in parse_test_spec()
247 spec->unpriv.execute = true; in parse_test_spec()
[all …]
Dtest_verifier.c1260 static int do_prog_test_run(int fd_prog, bool unpriv, uint32_t expected_val, in do_prog_test_run() argument
1274 if (unpriv) in do_prog_test_run()
1279 if (unpriv) in do_prog_test_run()
1288 if (unpriv) { in do_prog_test_run()
1554 static void do_test_single(struct bpf_test *test, bool unpriv, in do_test_single() argument
1599 expected_ret = unpriv && test->result_unpriv != UNDEF ? in do_test_single()
1601 expected_err = unpriv && test->errstr_unpriv ? in do_test_single()
1693 if (!unpriv && test->insn_processed) { in do_test_single()
1722 if (unpriv && test->retvals[i].retval_unpriv) in do_test_single()
1727 err = do_prog_test_run(fd_prog, unpriv, expected_val, in do_test_single()
[all …]
/linux-6.6.21/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.6.21/arch/parisc/include/asm/
Dhardware.h63 volatile uint32_t unpriv[512]; member
/linux-6.6.21/tools/testing/selftests/landlock/
Dfs_test.c741 TEST_F_FORK(layout0, unpriv) in TEST_F_FORK() argument
/linux-6.6.21/kernel/bpf/
Dverifier.c215 const struct bpf_map *map, bool unpriv) in bpf_map_ptr_store() argument
218 unpriv |= bpf_map_ptr_unpriv(aux); in bpf_map_ptr_store()
220 (unpriv ? BPF_MAP_PTR_UNPRIV : 0UL); in bpf_map_ptr_store()