[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQK7wM9g7_xjM1bLTS7fUWmiUVO1-S6qe1-zQptKV7z=ww@mail.gmail.com>
Date: Fri, 14 May 2021 16:14:55 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Andrii Nakryiko <andrii@...nel.org>
Cc: bpf <bpf@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Kernel Team <kernel-team@...com>,
Thadeu Lima de Souza Cascardo <cascardo@...onical.com>
Subject: Re: [PATCH bpf] selftests/bpf: test ringbuf mmap read-only and
read-write restrictions
On Fri, May 14, 2021 at 1:11 PM Andrii Nakryiko <andrii@...nel.org> 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@...onical.com>
> Signed-off-by: Andrii Nakryiko <andrii@...nel.org>
Applied.
Powered by blists - more mailing lists