From 8aeb27e1472bcaec3221f1086e9b16e784f3b351 Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Jul 18 2013 23:54:19 +0000 Subject: add devel-sysrq-secure-boot-20130717.patch --- diff --git a/devel-sysrq-secure-boot-20130717.patch b/devel-sysrq-secure-boot-20130717.patch new file mode 100644 index 0000000..2852972 --- /dev/null +++ b/devel-sysrq-secure-boot-20130717.patch @@ -0,0 +1,284 @@ +diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt +index 6ad8292..e7b9374 100644 +--- a/Documentation/kernel-parameters.txt ++++ b/Documentation/kernel-parameters.txt +@@ -2784,7 +2784,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted. + Note: increases power consumption, thus should only be + enabled if running jitter sensitive (HPC/RT) workloads. + +- secureboot_enable= ++ secureboot_enable + [KNL] Enables an emulated UEFI Secure Boot mode. This + locks down various aspects of the kernel guarded by the + CAP_COMPROMISE_KERNEL capability. This includes things +diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c +index 167ca34..ba3c8f2 100644 +--- a/arch/x86/kernel/setup.c ++++ b/arch/x86/kernel/setup.c +@@ -70,6 +70,11 @@ + #include + #include + ++#include ++#include ++#include ++#include ++ + #include