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

/linux-master/kernel/bpf/
H A Dlog.c481 type & PTR_UNTRUSTED ? "untrusted_" : "",
H A Dverifier.c1027 st->type |= PTR_UNTRUSTED;
1117 if (st->type & PTR_UNTRUSTED)
5212 perm_flags |= PTR_UNTRUSTED;
5268 verbose(env, " or %s%s\n", reg_type_str(env, PTR_TO_BTF_ID | PTR_UNTRUSTED),
5347 ret |= PTR_UNTRUSTED;
5714 * approach here as some (e.g. PTR_UNTRUSTED and PTR_MAYBE_NULL) are
6518 } else if (type_flag(reg->type) & PTR_UNTRUSTED) {
6522 flag = PTR_UNTRUSTED;
6532 * Note bpf_rcu_read_unlock() converts MEM_RCU pointers to PTR_UNTRUSTED.
6550 flag & PTR_UNTRUSTED)
[all...]
H A Dbtf.c6413 if (BTF_INFO_KIND(t->info) == BTF_KIND_UNION && vlen != 1 && !(*flag & PTR_UNTRUSTED))
6419 *flag |= PTR_UNTRUSTED;
6638 if (off + size > mtrue_end && !(*flag & PTR_UNTRUSTED)) {
/linux-master/include/linux/
H A Dbpf.h625 PTR_UNTRUSTED = BIT(6 + BPF_BASE_TYPE_BITS), enumerator in enum:bpf_type_flag
645 * Confusingly, this is _not_ the opposite of PTR_UNTRUSTED above.
646 * PTR_UNTRUSTED refers to a kptr that was read directly from a map
649 * While PTR_UNTRUSTED pointers are unsafe to pass to kfuncs and BPF
652 * struct will _not_ get the PTR_UNTRUSTED type modifier, despite the
656 * deprecated, and PTR_UNTRUSTED will eventually be removed.

Completed in 156 milliseconds