Re: [PATCH] mm_access: simplify the security checks

From: Oleg Nesterov

Date: Sat May 30 2026 - 10:16:32 EST


On 05/30, Oleg Nesterov wrote:
>
> 2. With the change above may_access_mm() doesn't need the "mm" argument,
> so we do not need to call get_task_mm() beforehand, we can call it
> only if may_access_mm() suceeds.
>
> 2. With the change above, may_access_mm() doesn't need the "mm" argument,
> so we do not need to call get_task_mm() beforehand. We can call it
> only if may_access_mm() succeeds.

OOPS. Somehow I wrote the same twice. Will fix the changelog and send V2
in reply to this patch...

Oleg.