summaryrefslogtreecommitdiffstats
path: root/efi-secureboot.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-03-31 16:16:04 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-03-31 16:16:04 -0500
commit9949db6070c6ca501d7235760ca8aba120db7448 (patch)
tree708fc472a9dce16e9eead9865b69f70134cec296 /efi-secureboot.patch
parentcd64a637b84619fd14311bb8d08f7928892f407c (diff)
downloadkernel-9949db6070c6ca501d7235760ca8aba120db7448.tar.gz
kernel-9949db6070c6ca501d7235760ca8aba120db7448.tar.xz
kernel-9949db6070c6ca501d7235760ca8aba120db7448.zip
Linux v5.6-2405-gcad18da0afb1
Diffstat (limited to 'efi-secureboot.patch')
-rw-r--r--efi-secureboot.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/efi-secureboot.patch b/efi-secureboot.patch
index 90ac9feca..04aacae97 100644
--- a/efi-secureboot.patch
+++ b/efi-secureboot.patch
@@ -166,7 +166,7 @@ index 554d795270d9..d2e17e26ac55 100644
+obj-$(CONFIG_EFI) += secureboot.o
obj-$(CONFIG_APPLE_PROPERTIES) += apple-properties.o
obj-$(CONFIG_EFI_RCI2_TABLE) += rci2-table.o
-
+ obj-$(CONFIG_EFI_EMBEDDED_FIRMWARE) += embedded-firmware.o
diff --git a/drivers/firmware/efi/secureboot.c b/drivers/firmware/efi/secureboot.c
new file mode 100644
index 000000000000..de0a3714a5d4
@@ -216,10 +216,10 @@ index 5062683d4d08..6ae0e02f461e 100644
--- a/include/linux/efi.h
+++ b/include/linux/efi.h
@@ -1126,6 +1126,14 @@ extern int __init efi_setup_pcdp_console(char *);
- #define EFI_NX_PE_DATA 9 /* Can runtime data regions be mapped non-executable? */
#define EFI_MEM_ATTR 10 /* Did firmware publish an EFI_MEMORY_ATTRIBUTES table? */
#define EFI_MEM_NO_SOFT_RESERVE 11 /* Is the kernel configured to ignore soft reservations? */
-+#define EFI_SECURE_BOOT 12 /* Are we in Secure Boot mode? */
+ #define EFI_PRESERVE_BS_REGIONS 12 /* Are EFI boot-services memory segments available? */
++#define EFI_SECURE_BOOT 13 /* Are we in Secure Boot mode? */
+
+enum efi_secureboot_mode {
+ efi_secureboot_mode_unset,