]> git.ipfire.org Git - thirdparty/linux.git/commit
ima: Introduce ima_dump_measurement()
authorRoberto Sassu <roberto.sassu@huawei.com>
Fri, 5 Jun 2026 17:22:32 +0000 (19:22 +0200)
committerMimi Zohar <zohar@linux.ibm.com>
Mon, 8 Jun 2026 15:43:15 +0000 (11:43 -0400)
commit292bc492f3d31ffd858600a331d599f1956bf612
tree9b56115e0a8ef532c05de4eb56f9ee3e20e929e7
parent56275ec7667adda1eea102911f76fb822dbfebc4
ima: Introduce ima_dump_measurement()

Introduce ima_dump_measurement() to simplify the code of
ima_dump_measurement_list() and to avoid repeating the
ima_dump_measurement() code block if iteration occurs on multiple lists.

No functional change: only code moved to a separate function.

Link: https://github.com/linux-integrity/linux/issues/1
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/ima/ima_kexec.c