Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1573238

Re: [PATCH 7/7] efi: Print the secure boot status in x86 setup_arch() [ver #7]

From Ard Biesheuvel <ard.biesheuvel@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 7/7] efi: Print the secure boot status in x86 setup_arch() [ver #7]
Date 2017-02-03 17:30 +0100
Message-ID <t6OUh-442-7@gated-at.bofh.it> (permalink)
References <t5InT-2gX-3@gated-at.bofh.it> <t5InT-2gX-13@gated-at.bofh.it> <t6OAV-3WY-17@gated-at.bofh.it> <t6OUh-442-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 3 February 2017 at 16:21, David Howells <dhowells@redhat.com> wrote:
> 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.
>

Yes, but only if you are booting via UEFI, no? So perhaps use
efi_enabled(EFI_BOOT) instead?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 7/7] efi: Print the secure boot status in x86 setup_arch()  [ver #7] David Howells <dhowells@redhat.com> - 2017-01-31 16:20 +0100
  Re: [PATCH 7/7] efi: Print the secure boot status in x86 setup_arch()  [ver #7] Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2017-02-03 17:10 +0100
    Re: [PATCH 7/7] efi: Print the secure boot status in x86 setup_arch() [ver #7] David Howells <dhowells@redhat.com> - 2017-02-03 17:30 +0100
      Re: [PATCH 7/7] efi: Print the secure boot status in x86 setup_arch()  [ver #7] Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2017-02-03 17:30 +0100
        Re: [PATCH 7/7] efi: Print the secure boot status in x86 setup_arch()  [ver #7] Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2017-02-03 18:10 +0100
          Re: [PATCH 7/7] efi: Print the secure boot status in x86 setup_arch() [ver #7] David Howells <dhowells@redhat.com> - 2017-02-03 18:20 +0100
    Re: [PATCH 7/7] efi: Print the secure boot status in x86 setup_arch()  [ver #7] Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2017-02-03 17:30 +0100
      Re: [PATCH 7/7] efi: Print the secure boot status in x86 setup_arch() [ver #7] David Howells <dhowells@redhat.com> - 2017-02-03 17:30 +0100
    Re: [PATCH 7/7] efi: Print the secure boot status in x86 setup_arch() [ver #7] David Howells <dhowells@redhat.com> - 2017-02-03 17:30 +0100

csiph-web