Scott Wood 558b523d46 x86/ima: Check EFI_RUNTIME_SERVICES before using
Checking efi_enabled(EFI_BOOT) is not sufficient to ensure that
EFI runtime services are available, e.g. if efi=noruntime is used.

Without this, I get an oops on a PREEMPT_RT kernel where efi=noruntime is
the default.

Fixes: 399574c64eaf94e8 ("x86/ima: retry detecting secure boot mode")
Cc: stable@vger.kernel.org  (linux-5.0)
Signed-off-by: Scott Wood <swood@redhat.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
2019-05-19 20:27:12 -04:00
..
2019-05-10 12:33:09 -04:00
2019-05-10 12:33:09 -04:00
2017-12-12 11:32:24 +01:00
2019-04-19 17:58:57 +02:00
2019-03-19 12:10:56 +01:00
2018-10-29 07:13:28 +01:00
2018-10-31 08:54:16 -07:00
2018-10-31 08:54:16 -07:00
2017-12-23 21:13:01 +01:00
2018-10-02 10:14:32 +02:00