[PATCH v9 06/23] ima: Move arch_policy_entry into ima_namespace

Christian Brauner brauner at kernel.org
Wed Jan 26 09:11:04 UTC 2022


On Tue, Jan 25, 2022 at 05:46:28PM -0500, Stefan Berger wrote:
> From: Stefan Berger <stefanb at linux.ibm.com>
> 
> Move the arch_policy_entry pointer into ima_namespace.
> 
> When freeing the memory set the pointer to NULL.
> 
> Signed-off-by: Stefan Berger <stefanb at linux.ibm.com>
> ---

Only relevant for the initial imans (for now) since it is derived from a
boot parameter. Maybe mention this in the commit message.

Move into struct ima_namespace looks good,
Acked-by: Christian Brauner <brauner at kernel.org>



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