selftests/kexec: kexec_file_load syscall test
authorMimi Zohar <zohar@linux.ibm.com>
Thu, 24 Jan 2019 23:22:06 +0000 (18:22 -0500)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 17 Apr 2019 21:32:24 +0000 (15:32 -0600)
commit973b71c60f160f58e624795ac5d4b08c881b8d75
tree61d18584eb9b6a8a4d5653313bee947613ed31dd
parentc660a81796d456f0769937dd3ecf4cfd30f0ece6
selftests/kexec: kexec_file_load syscall test

The kernel can be configured to verify PE signed kernel images, IMA
kernel image signatures, both types of signatures, or none.  This test
verifies only properly signed kernel images are loaded into memory,
based on the kernel configuration and runtime policies.

Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/kexec/Makefile
tools/testing/selftests/kexec/kexec_common_lib.sh
tools/testing/selftests/kexec/test_kexec_file_load.sh [new file with mode: 0755]
tools/testing/selftests/kexec/test_kexec_load.sh