Home
last modified time | relevance | path

Searched refs:unpriv (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A 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 in parse_test_spec()
532 run_subtest(struct test_loader *tester, struct bpf_object_open_opts *open_opts, const void *obj_bytes, size_t obj_byte_cnt, struct test_spec *specs, struct test_spec *spec, bool unpriv) run_subtest() argument
[all...]
H A 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_va in do_test_single()
1802 do_test(bool unpriv, unsigned int from, unsigned int to) do_test() argument
1850 bool unpriv = !is_admin(); main() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_verifier.c882 static int do_prog_test_run(int fd_prog, bool unpriv, uint32_t expected_val, in do_prog_test_run() argument
890 if (unpriv) in do_prog_test_run()
894 if (unpriv) in do_prog_test_run()
939 static void do_test_single(struct bpf_test *test, bool unpriv, in do_test_single() argument
980 expected_ret = unpriv && test->result_unpriv != UNDEF ? in do_test_single()
982 expected_err = unpriv && test->errstr_unpriv ? in do_test_single()
1049 if (!unpriv && test->insn_processed) { in do_test_single()
1075 if (unpriv && test->retvals[i].retval_unpriv) in do_test_single()
1080 err = do_prog_test_run(fd_prog, unpriv, expected_val, in do_test_single()
1170 static int do_test(bool unpriv, unsigne argument
1209 bool unpriv = !is_admin(); main() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/kmod/
H A Dkmod.sh483 local unpriv=$(capsh --drop=CAP_SYSLOG -- -c "$cmd")
485 if [ "$priv" = "$unpriv" ] || \
487 [ "${unpriv:0:3}" != "0x0" ] ; then
488 echo "${FUNCNAME[0]}: FAIL, $name visible to unpriv: '$priv' vs '$unpriv'" >&2
/kernel/linux/linux-6.6/tools/testing/selftests/kmod/
H A Dkmod.sh472 local unpriv=$(capsh --drop=CAP_SYSLOG -- -c "$cmd")
474 if [ "$priv" = "$unpriv" ] || \
476 [ "${unpriv:0:3}" != "0x0" ] ; then
477 echo "${FUNCNAME[0]}: FAIL, $name visible to unpriv: '$priv' vs '$unpriv'" >&2
/kernel/linux/linux-5.10/arch/parisc/include/asm/
H A Dhardware.h63 volatile uint32_t unpriv[512]; member
/kernel/linux/linux-6.6/arch/parisc/include/asm/
H A Dhardware.h63 volatile uint32_t unpriv[512]; member
/kernel/linux/linux-5.10/kernel/bpf/
H A Dverifier.c200 const struct bpf_map *map, bool unpriv) in bpf_map_ptr_store()
203 unpriv |= bpf_map_ptr_unpriv(aux); in bpf_map_ptr_store()
205 (unpriv ? BPF_MAP_PTR_UNPRIV : 0UL); in bpf_map_ptr_store()
199 bpf_map_ptr_store(struct bpf_insn_aux_data *aux, const struct bpf_map *map, bool unpriv) bpf_map_ptr_store() argument
/kernel/linux/linux-6.6/tools/testing/selftests/landlock/
H A Dfs_test.c741 TEST_F_FORK(layout0, unpriv) in TEST_F_FORK()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dverifier.c215 const struct bpf_map *map, bool unpriv) in bpf_map_ptr_store()
218 unpriv |= bpf_map_ptr_unpriv(aux); in bpf_map_ptr_store()
220 (unpriv ? BPF_MAP_PTR_UNPRIV : 0UL); in bpf_map_ptr_store()
214 bpf_map_ptr_store(struct bpf_insn_aux_data *aux, const struct bpf_map *map, bool unpriv) bpf_map_ptr_store() argument

Completed in 56 milliseconds