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.c1038 st->type |= PTR_UNTRUSTED; in mark_stack_slots_iter()
1128 if (st->type & PTR_UNTRUSTED) in is_iter_reg_valid_init()
5607 perm_flags |= PTR_UNTRUSTED; in map_kptr_match_type()
5663 verbose(env, " or %s%s\n", reg_type_str(env, PTR_TO_BTF_ID | PTR_UNTRUSTED), in map_kptr_match_type()
5748 ret |= PTR_UNTRUSTED; in btf_ld_kptr_type()
7042 } else if (type_flag(reg->type) & PTR_UNTRUSTED) { in check_ptr_to_btf_access()
7046 flag = PTR_UNTRUSTED; in check_ptr_to_btf_access()
7076 flag & PTR_UNTRUSTED) in check_ptr_to_btf_access()
7077 flag &= ~PTR_UNTRUSTED; in check_ptr_to_btf_access()
7092 flag = PTR_UNTRUSTED; in check_ptr_to_btf_access()
[all …]
H A Dbtf.c6811 if (BTF_INFO_KIND(t->info) == BTF_KIND_UNION && vlen != 1 && !(*flag & PTR_UNTRUSTED)) in btf_struct_walk()
6817 *flag |= PTR_UNTRUSTED; in btf_struct_walk()
7036 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