aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_helpers.h
diff options
context:
space:
mode:
authorEduard Zingerman <[email protected]>2025-07-04 23:03:49 +0000
committerAlexei Starovoitov <[email protected]>2025-07-07 15:25:06 +0000
commitf1f5d6f25d098e21b0a53237cfd055fc28787c46 (patch)
tree11e699fbf5777708c73a16c003f657083138f308 /tools/lib/bpf/bpf_helpers.h
parentbpf: rdonly_untrusted_mem for btf id walk pointer leafs (diff)
downloadkernel-f1f5d6f25d098e21b0a53237cfd055fc28787c46.tar.gz
kernel-f1f5d6f25d098e21b0a53237cfd055fc28787c46.zip
selftests/bpf: ptr_to_btf_id struct walk ending with primitive pointer
Validate that reading a PTR_TO_BTF_ID field produces a value of type PTR_TO_MEM|MEM_RDONLY|PTR_UNTRUSTED, if field is a pointer to a primitive type. Acked-by: Kumar Kartikeya Dwivedi <[email protected]> Signed-off-by: Eduard Zingerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions