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

KP Singh kpsingh at kernel.org
Tue Aug 2 21:29:12 UTC 2022


On Mon, Aug 1, 2022 at 8:02 PM Frederick Lawler <fred at cloudflare.com> 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>

Acked-by: KP Singh <kpsingh at kernel.org>



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