[PATCH 1/3] proc: refactor /proc/$pid/mem to use struct as private_data

David Hildenbrand (Arm) david at kernel.org
Thu Aug 20 17:18:57 UTC 2026


On 8/18/26 21:51, Jann Horn wrote:
> Refactor the handlers for proc_mem_operations to use the new struct
> mem_private as ->private_data, rather than directly storing an mm_struct*
> in ->private_data.
> 
> This is in preparation for adding more state in mem_private in the next
> commit.
> 
> Signed-off-by: Jann Horn <jannh at google.com>
> ---

Acked-by: David Hildenbrand (Arm) <david at kernel.org>

-- 
Cheers,

David



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