summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJiayuan Chen <jiayuan.chen@linux.dev>2026-09-01 18:47:38 +0800
committerAlexei Starovoitov <ast@kernel.org>2026-09-03 09:31:52 -0700
commit6265b44f2c3bb2839a306d6088d6e65a58d7e80e (patch)
treea9f0add3977463d9ccab9a414703f53e6a4258b1 /scripts/Makefile.thinlto
parent5403a383f52fc0905703b488f7c3db4b2447dc58 (diff)
downloadlinux-6265b44f2c3bb2839a306d6088d6e65a58d7e80e.tar.gz
linux-6265b44f2c3bb2839a306d6088d6e65a58d7e80e.zip
selftests/bpf: Add test for key-less BTF hash map
Create a hash and an rhash map with btf_key_type_id == 0 and expect bpf_map_create() to fail with -EINVAL; a positive control with a real key type confirms the rejection is about the key-less BTF and not some unrelated failure. Such a map used to be accepted and then NULL-deref in btf_type_show() when dumped through bpffs. Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev> Link: https://lore.kernel.org/r/20260901104924.346187-5-jiayuan.chen@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions