]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: Test access from RO map from xdp_store_bytes
authorPaul Chaignon <paul.chaignon@gmail.com>
Sat, 31 Jan 2026 16:09:02 +0000 (17:09 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 31 Jan 2026 21:49:43 +0000 (13:49 -0800)
commitf0b5b3d6b56f8717e255406366d81bbcd3631660
tree8301bc33b4d02a4500a0a9f5a8f1bf93b1af6bac
parent6557f1565d779851c4db9c488c49c05a47a6e72f
selftests/bpf: Test access from RO map from xdp_store_bytes

This new test simply checks that helper bpf_xdp_store_bytes can
successfully read from a read-only map.

Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Link: https://lore.kernel.org/r/4fdb934a713b2d7cf133288c77f6cfefe9856440.1769875479.git.paul.chaignon@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/verifier_xdp.c