/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_loader.c | 60 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 D | test_verifier.c | 1260 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 D | test_verifier.c | 882 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 D | kmod.sh | 483 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 D | kmod.sh | 472 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 D | hardware.h | 63 volatile uint32_t unpriv[512]; member
|
/kernel/linux/linux-6.6/arch/parisc/include/asm/ |
H A D | hardware.h | 63 volatile uint32_t unpriv[512]; member
|
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | verifier.c | 200 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 D | fs_test.c | 741 TEST_F_FORK(layout0, unpriv) in TEST_F_FORK()
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | verifier.c | 215 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
|