Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/bpf/
Dverifier.c648 type & PTR_UNTRUSTED ? "untrusted_" : "", in reg_type_str()
5243 perm_flags |= PTR_UNTRUSTED; in map_kptr_match_type()
5297 verbose(env, " or %s%s\n", reg_type_str(env, PTR_TO_BTF_ID | PTR_UNTRUSTED), in map_kptr_match_type()
5373 PTR_MAYBE_NULL | PTR_UNTRUSTED); in check_map_kptr_access()
6454 } else if (type_flag(reg->type) & PTR_UNTRUSTED) { in check_ptr_to_btf_access()
6458 flag = PTR_UNTRUSTED; in check_ptr_to_btf_access()
6486 flag & PTR_UNTRUSTED) in check_ptr_to_btf_access()
6487 flag &= ~PTR_UNTRUSTED; in check_ptr_to_btf_access()
6502 flag = PTR_UNTRUSTED; in check_ptr_to_btf_access()
11777 reg->type |= PTR_UNTRUSTED; in check_kfunc_call()
[all …]
Dbtf.c6147 if (BTF_INFO_KIND(t->info) == BTF_KIND_UNION && vlen != 1 && !(*flag & PTR_UNTRUSTED)) in btf_struct_walk()
6153 *flag |= PTR_UNTRUSTED; in btf_struct_walk()
6372 if (off + size > mtrue_end && !(*flag & PTR_UNTRUSTED)) { in btf_struct_walk()
/linux-6.6.21/include/linux/
Dbpf.h614 PTR_UNTRUSTED = BIT(6 + BPF_BASE_TYPE_BITS), enumerator