[PATCH v4 2/4] bpf-lsm: Make bpf_lsm_userns_create() sleepable

Alexei Starovoitov alexei.starovoitov at gmail.com
Mon Aug 1 23:00:30 UTC 2022


On Mon, Aug 01, 2022 at 01:01:44PM -0500, Frederick Lawler wrote:
> Users may want to audit calls to security_create_user_ns() and access
> user space memory. Also create_user_ns() runs without
> pagefault_disabled(). Therefore, make bpf_lsm_userns_create() sleepable
> for mandatory access control policies.
> 
> Signed-off-by: Frederick Lawler <fred at cloudflare.com>
> Acked-by: Christian Brauner (Microsoft) <brauner at kernel.org>

We can take this set through bpf-next tree if it's easier.

Or if it goes through other trees:
Acked-by: Alexei Starovoitov <ast at kernel.org>



More information about the Linux-security-module-archive mailing list