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

/linux-master/tools/testing/selftests/bpf/
H A Dtest_loader.c61 struct test_subspec unpriv; member in struct:test_spec
93 free(spec->unpriv.name);
95 free(spec->unpriv.expect_msgs);
98 spec->unpriv.name = NULL;
100 spec->unpriv.expect_msgs = NULL;
221 spec->unpriv.expect_failure = true;
225 spec->unpriv.expect_failure = false;
242 err = push_msg(msg, &spec->unpriv);
255 err = parse_retval(val, &spec->unpriv.retval, "__retval_unpriv");
259 spec->unpriv
557 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) argument
[all...]
H A Dtest_verifier.c1262 static int do_prog_test_run(int fd_prog, bool unpriv, uint32_t expected_val, argument
1276 if (unpriv)
1281 if (unpriv)
1290 if (unpriv) {
1513 static void do_test_single(struct bpf_test *test, bool unpriv, argument
1565 expected_ret = unpriv && test->result_unpriv != UNDEF ?
1567 expected_err = unpriv && test->errstr_unpriv ?
1659 if (!unpriv && test->insn_processed) {
1688 if (unpriv && test->retvals[i].retval_unpriv)
1693 err = do_prog_test_run(fd_prog, unpriv, expected_va
1768 do_test(bool unpriv, unsigned int from, unsigned int to) argument
1816 bool unpriv = !is_admin(); local
[all...]
/linux-master/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
/linux-master/arch/parisc/include/asm/
H A Dhardware.h63 volatile uint32_t unpriv[512]; member in struct:io_module
/linux-master/tools/testing/selftests/landlock/
H A Dfs_test.c794 TEST_F_FORK(layout0, unpriv)
/linux-master/kernel/bpf/
H A Dverifier.c221 const struct bpf_map *map, bool unpriv)
224 unpriv |= bpf_map_ptr_unpriv(aux);
226 (unpriv ? BPF_MAP_PTR_UNPRIV : 0UL);
220 bpf_map_ptr_store(struct bpf_insn_aux_data *aux, const struct bpf_map *map, bool unpriv) argument

Completed in 232 milliseconds