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

Mimi Zohar zohar at linux.ibm.com
Thu Feb 17 14:46:05 UTC 2022


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 at linux.ibm.com>

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



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