aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/Makefile
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.ibm.com>2018-11-14 12:30:19 -0500
committerMimi Zohar <zohar@linux.ibm.com>2018-12-11 07:19:47 -0500
commita802ed0dd9c2607cc219574e881062d43ea3b7e0 (patch)
treebae0e40409b10571fb51eeb623799db68de0b419 /tools/testing/selftests/Makefile
parentima: don't measure/appraise files on efivarfs (diff)
downloadwireguard-linux-a802ed0dd9c2607cc219574e881062d43ea3b7e0.tar.xz
wireguard-linux-a802ed0dd9c2607cc219574e881062d43ea3b7e0.zip
selftests/ima: kexec_load syscall test
The kernel CONFIG_KEXEC_VERIFY_SIG option is limited to verifying a kernel image's signature, when loaded via the kexec_file_load syscall. There is no method for verifying a kernel image's signature loaded via the kexec_load syscall. This test verifies loading the kernel image via the kexec_load syscall fails when the kernel CONFIG_KEXEC_VERIFY_SIG option is enabled on systems with secureboot enabled[1]. [1] Detecting secureboot enabled is architecture specific. Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'tools/testing/selftests/Makefile')
-rw-r--r--tools/testing/selftests/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile
index f1fe492c8e17..552c447af03d 100644
--- a/tools/testing/selftests/Makefile
+++ b/tools/testing/selftests/Makefile
@@ -13,6 +13,7 @@ TARGETS += firmware
TARGETS += ftrace
TARGETS += futex
TARGETS += gpio
+TARGETS += ima
TARGETS += intel_pstate
TARGETS += ipc
TARGETS += kcmp