Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/bpf/
Dverifier.c637 type & PTR_UNTRUSTED ? "untrusted_" : "", in reg_type_str()
4999 perm_flags |= PTR_UNTRUSTED; in map_kptr_match_type()
5053 verbose(env, " or %s%s\n", reg_type_str(env, PTR_TO_BTF_ID | PTR_UNTRUSTED), in map_kptr_match_type()
5129 PTR_MAYBE_NULL | PTR_UNTRUSTED); in check_map_kptr_access()
6224 } else if (type_flag(reg->type) & PTR_UNTRUSTED) { in check_ptr_to_btf_access()
6228 flag = PTR_UNTRUSTED; in check_ptr_to_btf_access()
6256 flag & PTR_UNTRUSTED) in check_ptr_to_btf_access()
6257 flag &= ~PTR_UNTRUSTED; in check_ptr_to_btf_access()
6272 flag = PTR_UNTRUSTED; in check_ptr_to_btf_access()
11342 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-v6.6/include/linux/
Dbpf.h605 PTR_UNTRUSTED = BIT(6 + BPF_BASE_TYPE_BITS), enumerator