summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2026-11-01 19:05:15 +0000
committerAlexei Starovoitov <ast@kernel.org>2026-11-02 00:10:39 +0000
commit14d3e5bf9ffeb367151b09a0b550d72141b6650d (patch)
tree0a09006094f7d635a1cef895d5f4c33c761cd98d /include
parent15dedd4b259289bffb8a5485b81722fdaebac71a (diff)
selftests/bpf: Test the length and the address of an arena mmap()
libbpf maps all max_entries pages of an arena and never maps it at address 0. No test maps an arena differently. Thus the checks from "bpf: Refuse an arena mmap() longer than max_entries pages" and "bpf: Refuse to map an arena at address 0" have no test. Test that a longer mmap() fails with E2BIG, and that an mmap() at address 0 fails with EINVAL. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://patch.msgid.link/20261101190535.1454146-8-alexei.starovoitov@gmail.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions