summaryrefslogtreecommitdiffstats
path: root/efi-secureboot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'efi-secureboot.patch')
-rw-r--r--efi-secureboot.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/efi-secureboot.patch b/efi-secureboot.patch
index 1476abab3..5a3738a22 100644
--- a/efi-secureboot.patch
+++ b/efi-secureboot.patch
@@ -164,18 +164,18 @@ index 100ce4a4aff6..62361b647a75 100644
#ifdef CONFIG_EFI
/*
-@@ -1169,6 +1177,8 @@ extern void efi_reboot(enum reboot_mode reboot_mode, const char *__unused);
+@@ -1198,6 +1206,8 @@ static inline bool efi_enabled(int feature)
+ extern void efi_reboot(enum reboot_mode reboot_mode, const char *__unused);
+
extern bool efi_is_table_address(unsigned long phys_addr);
-
- extern int efi_apply_persistent_mem_reservations(void);
+
+extern void __init efi_set_secure_boot(enum efi_secureboot_mode mode);
#else
static inline bool efi_enabled(int feature)
{
-@@ -1192,6 +1202,8 @@ static inline int efi_apply_persistent_mem_reservations(void)
+@@ -1216,6 +1226,8 @@ static inline bool efi_is_table_address(unsigned long phys_addr)
{
- return 0;
+ return false;
}
+
+static inline void efi_set_secure_boot(enum efi_secureboot_mode mode) {}
@@ -285,8 +285,8 @@ index 461d5acc3616..13fdada1ffc2 100644
+ triggered if EFI Secure Boot is set.
+
- source security/selinux/Kconfig
- source security/smack/Kconfig
+ source "security/selinux/Kconfig"
+ source "security/smack/Kconfig"
diff --git a/security/lock_down.c b/security/lock_down.c
index 2c6b00f0c229..527f7e51dc8d 100644
--- a/security/lock_down.c