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

From: Christian Brauner
Date: Wed Jan 26 2022 - 04:11:24 EST


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

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@xxxxxxxxxx>