summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/ima_arch.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/kernel/ima_arch.c')
-rw-r--r--arch/s390/kernel/ima_arch.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/s390/kernel/ima_arch.c b/arch/s390/kernel/ima_arch.c
new file mode 100644
index 0000000000..f3c3e6e1c5
--- /dev/null
+++ b/arch/s390/kernel/ima_arch.c
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0
+
+#include <linux/ima.h>
+#include <asm/boot_data.h>
+
+bool arch_ima_get_secureboot(void)
+{
+ return ipl_secure_flag;
+}
+
+const char * const *arch_get_ima_policy(void)
+{
+ return NULL;
+}