Home
last modified time | relevance | path

Searched refs:PTR_UNTRUSTED (Results 1 – 4 of 4) sorted by relevance

/linux/kernel/bpf/
H A Dlog.c481 type & PTR_UNTRUSTED ? "untrusted_" : "", in reg_type_str()
H A Dverifier.c1031 st->type |= PTR_UNTRUSTED; in mark_stack_slots_iter()
1121 if (st->type & PTR_UNTRUSTED) in is_iter_reg_valid_init()
5429 perm_flags |= PTR_UNTRUSTED; in map_kptr_match_type()
5485 verbose(env, " or %s%s\n", reg_type_str(env, PTR_TO_BTF_ID | PTR_UNTRUSTED), in map_kptr_match_type()
5566 ret |= PTR_UNTRUSTED; in btf_ld_kptr_type()
6860 } else if (type_flag(reg->type) & PTR_UNTRUSTED) { in check_ptr_to_btf_access()
6864 flag = PTR_UNTRUSTED; in check_ptr_to_btf_access()
6894 flag & PTR_UNTRUSTED) in check_ptr_to_btf_access()
6895 flag &= ~PTR_UNTRUSTED; in check_ptr_to_btf_access()
6910 flag = PTR_UNTRUSTED; in check_ptr_to_btf_access()
[all …]
H A Dbtf.c6814 if (BTF_INFO_KIND(t->info) == BTF_KIND_UNION && vlen != 1 && !(*flag & PTR_UNTRUSTED)) in btf_struct_walk()
6820 *flag |= PTR_UNTRUSTED; in btf_struct_walk()
7039 if (off + size > mtrue_end && !(*flag & PTR_UNTRUSTED)) { in btf_struct_walk()
/linux/include/linux/
H A Dbpf.h661 PTR_UNTRUSTED = BIT(6 + BPF_BASE_TYPE_BITS), enumerator