summaryrefslogtreecommitdiffstats
path: root/secure-boot-20120924.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@redhat.com>2012-10-06 08:53:08 -0400
committerJosh Boyer <jwboyer@redhat.com>2012-10-06 08:53:30 -0400
commit393a84a43a0d3525ad6a87ceca04ea762b7384f1 (patch)
tree14a70ed0e9f85303fa4bca2f8d94ce98abbfda90 /secure-boot-20120924.patch
parented866e80868ed770e5bf9e7470b32e073627fa5c (diff)
downloadkernel-393a84a43a0d3525ad6a87ceca04ea762b7384f1.tar.gz
kernel-393a84a43a0d3525ad6a87ceca04ea762b7384f1.tar.xz
kernel-393a84a43a0d3525ad6a87ceca04ea762b7384f1.zip
secure boot modsign depends on CONFIG_MODULE_SIG not CONFIG_MODULES
Diffstat (limited to 'secure-boot-20120924.patch')
-rw-r--r--secure-boot-20120924.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/secure-boot-20120924.patch b/secure-boot-20120924.patch
index 3f9bdc2f3..54825efe6 100644
--- a/secure-boot-20120924.patch
+++ b/secure-boot-20120924.patch
@@ -676,7 +676,7 @@ index 7e6e83f..2b0b980 100644
0, SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
}
-+#ifdef CONFIG_MODULES
++#ifdef CONFIG_MODULE_SIG
+extern bool sig_enforce;
+#endif
+
@@ -685,7 +685,7 @@ index 7e6e83f..2b0b980 100644
pr_info("Secure boot enabled\n");
cap_lower((&init_cred)->cap_bset, CAP_COMPROMISE_KERNEL);
cap_lower((&init_cred)->cap_permitted, CAP_COMPROMISE_KERNEL);
-+#ifdef CONFIG_MODULES
++#ifdef CONFIG_MODULE_SIG
+ /* Enable module signature enforcing */
+ sig_enforce = true;
+#endif