summaryrefslogtreecommitdiffstats
path: root/include/linux/ima.h
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.ibm.com>2018-11-18 04:08:12 -0500
committerMimi Zohar <zohar@linux.ibm.com>2018-12-11 07:19:45 -0500
commit399574c64eaf94e82b7cf056978d7e68748c0f1d (patch)
tree73345c30d1bf8b57371261391e23ffbcddc33306 /include/linux/ima.h
parent4264f27a0815c46dfda9c9dd6d5f4abc1df04415 (diff)
x86/ima: retry detecting secure boot mode
The secure boot mode may not be detected on boot for some reason (eg. buggy firmware). This patch attempts one more time to detect the secure boot mode. Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'include/linux/ima.h')
-rw-r--r--include/linux/ima.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ima.h b/include/linux/ima.h
index 5ab9134d4fd7..b5e16b8c50b7 100644
--- a/include/linux/ima.h
+++ b/include/linux/ima.h
@@ -30,7 +30,7 @@ extern void ima_post_path_mknod(struct dentry *dentry);
30extern void ima_add_kexec_buffer(struct kimage *image); 30extern void ima_add_kexec_buffer(struct kimage *image);
31#endif 31#endif
32 32
33#ifdef CONFIG_X86 33#if defined(CONFIG_X86) && defined(CONFIG_EFI)
34extern bool arch_ima_get_secureboot(void); 34extern bool arch_ima_get_secureboot(void);
35extern const char * const *arch_get_ima_policy(void); 35extern const char * const *arch_get_ima_policy(void);
36#else 36#else