]> Git Repo - linux.git/commit
ima: define a canonical binary_runtime_measurements list format
authorMimi Zohar <[email protected]>
Tue, 20 Dec 2016 00:22:57 +0000 (16:22 -0800)
committerLinus Torvalds <[email protected]>
Tue, 20 Dec 2016 17:48:45 +0000 (09:48 -0800)
commitd68a6fe9fccfd00589c61df672b449d66ba3183f
tree0a651c25b42fc38870cbe80ac434a2c107a5690e
parentc7d09367702e2f4faebc6176d24df72dd5066c3e
ima: define a canonical binary_runtime_measurements list format

The IMA binary_runtime_measurements list is currently in platform native
format.

To allow restoring a measurement list carried across kexec with a
different endianness than the targeted kernel, this patch defines
little-endian as the canonical format.  For big endian systems wanting
to save/restore the measurement list from a system with a different
endianness, a new boot command line parameter named "ima_canonical_fmt"
is defined.

Considerations: use of the "ima_canonical_fmt" boot command line option
will break existing userspace applications on big endian systems
expecting the binary_runtime_measurements list to be in platform native
format.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mimi Zohar <[email protected]>
Acked-by: Dmitry Kasatkin <[email protected]>
Cc: Thiago Jung Bauermann <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Andreas Steffen <[email protected]>
Cc: Josh Sklar <[email protected]>
Cc: Dave Young <[email protected]>
Cc: Vivek Goyal <[email protected]>
Cc: Baoquan He <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Stewart Smith <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/admin-guide/kernel-parameters.txt
security/integrity/ima/ima.h
security/integrity/ima/ima_fs.c
security/integrity/ima/ima_kexec.c
security/integrity/ima/ima_template.c
security/integrity/ima/ima_template_lib.c
This page took 0.057797 seconds and 4 git commands to generate.