[PATCH 7/7] efi: Print the secure boot status in x86 setup_arch() [ver #7]
From: dhowells@redhat.com (David Howells)
Date: 2017-02-03 16:27:47
Also in:
linux-efi, lkml
From: dhowells@redhat.com (David Howells)
Date: 2017-02-03 16:27:47
Also in:
linux-efi, lkml
Ard Biesheuvel [off-list ref] wrote:
Yes, but only if you are booting via UEFI, no?
Why limit it so? Even if you don't boot via UEFI, the bootloader/kexec can always set the secure-boot state on.
So perhaps use efi_enabled(EFI_BOOT) instead?
I've no objection to that, given it incorporates a test of CONFIG_EFI. David