diff options
author | Andrii Nakryiko <[email protected]> | 2021-05-14 11:07:26 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-05-20 23:48:38 +0200 |
commit | 704e2beba23c45eaa056b1c03b5e1fb221e03f80 (patch) | |
tree | ea97b769abc7cc1c79e625421809834528689e47 /scripts/gdb/linux/timerlist.py | |
parent | 8f1634b82189e715b0f82f16ce54fab43cfedd8a (diff) |
selftests/bpf: Test ringbuf mmap read-only and read-write restrictions
Extend ringbuf selftest to validate read/write and read-only restrictions on
memory mapping consumer/producer/data pages. Ensure no "escalations" from
PROT_READ to PROT_WRITE/PROT_EXEC is allowed. And test that mremap() fails to
expand mmap()'ed area.
Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions