Re: [PATCH v10 08/27] ima: Move measurement list related variables into ima_namespace
From: Mimi Zohar <zohar@linux.ibm.com>
Date: 2022-02-17 14:46:34
Also in:
linux-integrity, lkml
From: Mimi Zohar <zohar@linux.ibm.com>
Date: 2022-02-17 14:46:34
Also in:
linux-integrity, lkml
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>