aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorScott Wood <[email protected]>2019-04-23 22:48:07 +0000
committerMimi Zohar <[email protected]>2019-05-20 00:27:12 +0000
commit558b523d46289f111d53d7c42211069063be5985 (patch)
tree5c00e16c30f325b0da8d00106318403ad1cb5a15 /lib/mpi/mpi-bit.c
parentLinux 5.2-rc1 (diff)
downloadkernel-558b523d46289f111d53d7c42211069063be5985.tar.gz
kernel-558b523d46289f111d53d7c42211069063be5985.zip
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: [email protected] (linux-5.0) Signed-off-by: Scott Wood <[email protected]> Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions