]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/linux/efi.h
UBUNTU: SAUCE: (efi-lockdown) efi: Add EFI_SECURE_BOOT bit
authorJosh Boyer <jwboyer@fedoraproject.org>
Mon, 21 Nov 2016 23:55:55 +0000 (23:55 +0000)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 5 Sep 2017 12:33:55 +0000 (07:33 -0500)
commitaf123821a9879484d76f9ee48c56518a2422e8ea
tree834b65a949eba38ab1a230b5479446bda4ba6aed
parent8437ec42c423e6eccac9ca6005294f68789f1c07
UBUNTU: SAUCE: (efi-lockdown) efi: Add EFI_SECURE_BOOT bit

UEFI machines can be booted in Secure Boot mode.  Add a EFI_SECURE_BOOT bit
that can be passed to efi_enabled() to find out whether secure boot is
enabled.

This will be used by the SysRq+x handler, registered by the x86 arch, to find
out whether secure boot mode is enabled so that it can be disabled.

Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: David Howells <dhowells@redhat.com>
(cherry picked from commit c7fa9ead2f377781622668f7ee2b73bf7f6e8110
 git://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git)
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/x86/kernel/setup.c
include/linux/efi.h