Home
last modified time | relevance | path

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

/openbmc/linux/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.execute = true; in parse_test_spec()
[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_val, in do_test_single()
[all …]
/openbmc/linux/tools/testing/selftests/kmod/
H A 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
/openbmc/linux/arch/parisc/include/asm/
H A Dhardware.h63 volatile uint32_t unpriv[512]; member
/openbmc/qemu/target/arm/tcg/
H A Da64.decode391 &ldst_imm rt rn imm sz sign w p unpriv ext
392 @ldst_imm .. ... . .. .. . imm:s9 .. rn:5 rt:5 &ldst_imm unpriv=0 p=0 w=0
393 @ldst_imm_pre .. ... . .. .. . imm:s9 .. rn:5 rt:5 &ldst_imm unpriv=0 p=0 w=1
394 @ldst_imm_post .. ... . .. .. . imm:s9 .. rn:5 rt:5 &ldst_imm unpriv=0 p=1 w=1
395 @ldst_imm_user .. ... . .. .. . imm:s9 .. rn:5 rt:5 &ldst_imm unpriv=1 p=0 w=0
463 @ldst_uimm .. ... . .. .. ............ rn:5 rt:5 &ldst_imm unpriv=0 p=0 w=0 imm=%uimm_scaled
620 # indicate whether memory accesses should be unpriv or non-temporal.
625 &set rs rn rd unpriv nontemp
627 @set .. ......... rs:5 .. nontemp:1 unpriv:1 .. rn:5 rd:5 &set
641 # options has the nontemporal and unpriv bits for src and dest
H A Da32.decode273 # Note the unpriv load/stores use the previously invalid P=0, W=1 encoding,
334 # Note the unpriv load/stores use the previously invalid P=0, W=1 encoding,
H A Dtranslate-a64.c118 static int get_a64_user_mem_index(DisasContext *s, bool unpriv) in get_a64_user_mem_index() argument
126 if (unpriv && s->unpriv) { in get_a64_user_mem_index()
3328 memidx = get_a64_user_mem_index(s, a->unpriv); in op_addr_ldst_imm_pre()
3331 mop, a->unpriv, memidx); in op_addr_ldst_imm_pre()
3349 int memidx = get_a64_user_mem_index(s, a->unpriv); in trans_STR_i()
3367 int memidx = get_a64_user_mem_index(s, a->unpriv); in trans_LDR_i()
4216 memidx = get_a64_user_mem_index(s, a->unpriv); in do_SET()
4222 syndrome = syn_mop(true, is_setg, (a->nontemp << 1) | a->unpriv, in do_SET()
4225 if (is_setg ? s->ata[a->unpriv] : s->mte_active[a->unpriv]) { in do_SET()
11710 dc->unpriv = EX_TBFLAG_A64(tb_flags, UNPRIV); in aarch64_tr_init_disas_context()
H A Dtranslate.h114 bool unpriv; member
/openbmc/openbmc/poky/documentation/migration-guides/
H A Drelease-notes-4.0.2.rst100 - linux-yocto/5.15: bpf: explicitly disable unpriv eBPF by default
/openbmc/linux/tools/testing/selftests/landlock/
H A Dfs_test.c741 TEST_F_FORK(layout0, unpriv) in TEST_F_FORK() argument
/openbmc/linux/kernel/bpf/
H A 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()