summaryrefslogtreecommitdiffstats
path: root/efi-secureboot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'efi-secureboot.patch')
-rw-r--r--efi-secureboot.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/efi-secureboot.patch b/efi-secureboot.patch
index f115141df..bb5b47b42 100644
--- a/efi-secureboot.patch
+++ b/efi-secureboot.patch
@@ -231,8 +231,8 @@ index 9c343f262bdd..30788bc47863 100644
--- a/security/Kconfig
+++ b/security/Kconfig
@@ -244,6 +244,20 @@ config LOCK_DOWN_KERNEL_FORCE
- help
- Enable the kernel lock down functionality automatically at boot.
+ Allow the lockdown on a kernel to be lifted, by pressing a SysRq key
+ combination on a wired keyboard. On x86, this is SysRq+x.
+config LOCK_DOWN_IN_EFI_SECURE_BOOT
+ bool "Lock down the kernel in EFI Secure Boot mode"
@@ -260,8 +260,8 @@ index ee00ca2677e7..bb4dc7838f3e 100644
#include <linux/security.h>
#include <linux/export.h>
+#include <linux/efi.h>
-
- static __ro_after_init bool kernel_locked_down;
+ #include <linux/sysrq.h>
+ #include <asm/setup.h>
@@ -44,6 +45,10 @@ void __init init_lockdown(void)
#ifdef CONFIG_LOCK_DOWN_FORCE