summaryrefslogtreecommitdiff
path: root/rust/kernel/ptr
diff options
context:
space:
mode:
authorAlan Maguire <alan.maguire@oracle.com>2026-04-08 17:57:35 +0100
committerAlexei Starovoitov <ast@kernel.org>2026-04-10 12:34:36 -0700
commit0e4dc6fbddb01b2ce0d0b4d67ad5f70e976bedcc (patch)
treea1b5aa828eba7f5964aa1d0882d0e6fd0ec60ebc /rust/kernel/ptr
parent7419fcadd1dcd5efb5771a2725f9a80dc90d9e5a (diff)
selftests/bpf: Add BTF sanitize test covering BTF layout
Add test that fakes up a feature cache of supported BPF features to simulate an older kernel that does not support BTF layout information. Ensure that BTF is sanitized correctly to remove layout info between types and strings, and that all offsets and lengths are adjusted appropriately. Signed-off-by: Alan Maguire <alan.maguire@oracle.com> Link: https://lore.kernel.org/r/20260408165735.843763-3-alan.maguire@oracle.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'rust/kernel/ptr')
0 files changed, 0 insertions, 0 deletions