summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2026-11-12 20:00:11 +0000
committerAlexei Starovoitov <ast@kernel.org>2026-11-12 20:00:11 +0000
commitef2cb4d4c59132b8b69f2042a043f3fb0a8bb14f (patch)
tree52f4cc462bcb9caa1735969bc66da0320aca4da4 /include/linux
parentf6562cd116a013a5a9b549e51d79ba658f9f8981 (diff)
parente1224c9a9053d12a3375acaac1566e268835e99d (diff)
Merge branch 'reject-writable-map-iterators-on-read-only-maps'
Adethya Srinivasan says: ==================== Reject writable map iterators on read-only maps Reject writable map iterators on BPF_F_RDONLY_PROG maps and add an attach-rejection selftest using the existing array-map iterator. Testing on x86_64 under QEMU: - Kernel and test_progs builds passed. - Six selected bpf_iter subtests passed, including bpf_array_map_rdonly. Changes in v2: - Check BPF_F_RDONLY_PROG only; drop the frozen-map check. - Shorten the commit message and correct the Fixes tags. - Add a selftest expecting -EACCES when attaching dump_bpf_array_map() to a BPF_F_RDONLY_PROG array. ==================== Link: https://patch.msgid.link/LO2P302MB0197C0434BCC2A9031E99A18BC702@LO2P302MB0197.GBRP302.PROD.OUTLOOK.COM Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions