diff options
| author | Eduard Zingerman <[email protected]> | 2025-07-04 23:03:49 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2025-07-07 15:25:06 +0000 |
| commit | f1f5d6f25d098e21b0a53237cfd055fc28787c46 (patch) | |
| tree | 11e699fbf5777708c73a16c003f657083138f308 /tools/lib/bpf/bpf_helpers.h | |
| parent | bpf: rdonly_untrusted_mem for btf id walk pointer leafs (diff) | |
| download | kernel-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
