On Fri, May 14, 2021 at 1:11 PM Andrii Nakryiko <andrii@xxxxxxxxxx> wrote: > > 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 <cascardo@xxxxxxxxxxxxx> > Signed-off-by: Andrii Nakryiko <andrii@xxxxxxxxxx> Acked-by: Song Liu <songliubraving@xxxxxx>