summaryrefslogtreecommitdiffstats
path: root/secure-boot-20120924.patch
diff options
context:
space:
mode:
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