lkml.org 
[lkml]   [2017]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 7/7] efi: Print the secure boot status in x86 setup_arch() [ver #7]
Date
Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:

> > + if (IS_ENABLED(CONFIG_EFI)) {
>
> Shouldn't this be a runtime check?

Interesting question. The original patch I was working from had a #ifdef
here. Possibly it doesn't need to be there at all. We could rely entirely on
the value of boot_params.secure_boot.

David

\
 
 \ /
  Last update: 2017-02-03 17:22    [W:0.245 / U:0.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site