Re: [PATCH v10 08/27] ima: Move measurement list related variables into ima_namespace

Mimi Zohar
2022-02-17T14:46:23Z

On Tue, 2022-02-01 at 15:37 -0500, Stefan Berger wrote:
> Move measurement list related variables into the ima_namespace. This way
> a front-end like securityfs can show the measurement list inside an IMA
> namespace.

Also, in order for kexec to allocate memory for the existing
measurement list, the measurement list memory size is stored in the
binary_runtime_size variable. To avoid special-casing init_ima_ns, as
much as possible, move it into the ima_namespace.

>
> Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>

Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>