x86/ima: retry detecting secure boot mode
authorMimi Zohar <zohar@linux.ibm.com>
Sun, 18 Nov 2018 09:08:12 +0000 (04:08 -0500)
committerMimi Zohar <zohar@linux.ibm.com>
Tue, 11 Dec 2018 12:19:45 +0000 (07:19 -0500)
commit399574c64eaf94e82b7cf056978d7e68748c0f1d
tree73345c30d1bf8b57371261391e23ffbcddc33306
parent4264f27a0815c46dfda9c9dd6d5f4abc1df04415
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>
arch/x86/kernel/Makefile
arch/x86/kernel/ima_arch.c
include/linux/ima.h