On Mon, Aug 1, 2022 at 8:02 PM Frederick Lawler fred@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@cloudflare.com Acked-by: Christian Brauner (Microsoft) brauner@kernel.org
Acked-by: KP Singh kpsingh@kernel.org