OpenCloudOS-Kernel/tools/testing/selftests/kexec
Mimi Zohar cbc0425d3d sefltest/ima: support appended signatures (modsig)
In addition to the PE/COFF and IMA xattr signatures, the kexec kernel
image can be signed with an appended signature, using the same
scripts/sign-file tool that is used to sign kernel modules.

This patch adds support for detecting a kernel image signed with an
appended signature and updates the existing test messages
appropriately.

Reviewed-by: Petr Vorel <pvorel@suse.cz>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
Reviewed-by: Jordan Hand <jorhand@linux.microsoft.com> (x86_64 QEMU)
Tested-by: Jordan Hand <jorhand@linux.microsoft.com> (x86_64 QEMU)
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
2019-08-29 12:45:30 -04:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
config selftests/kexec: Add missing '=y' to config options 2019-04-17 15:32:29 -06:00
kexec_common_lib.sh selftests/kexec: update get_secureboot_mode 2019-04-17 15:32:44 -06:00
test_kexec_file_load.sh sefltest/ima: support appended signatures (modsig) 2019-08-29 12:45:30 -04:00
test_kexec_load.sh selftests/kexec: make kexec_load test independent of IMA being enabled 2019-04-17 15:32:40 -06:00