]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/bpf: Add tests for exclusive maps
authorKP Singh <kpsingh@kernel.org>
Sun, 14 Sep 2025 21:51:34 +0000 (23:51 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 19 Sep 2025 02:11:42 +0000 (19:11 -0700)
commit6c850cbca82c2d20bc1b1c5e0e1c25c515292abd
tree63784f0b9481f2cd0f60eb54bbf7cf58e89a99cd
parent567010a5478ff4cbf1f14a01fa03cb50f68ac354
selftests/bpf: Add tests for exclusive maps

Check if access is denied to another program for an exclusive map

Signed-off-by: KP Singh <kpsingh@kernel.org>
Link: https://lore.kernel.org/r/20250914215141.15144-6-kpsingh@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/map_excl.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/map_excl.c [new file with mode: 0644]