]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - kernel/module.c
UBUNTU: SAUCE: UEFI: Add secure boot and MOK SB State disabled sysctl
[mirror_ubuntu-zesty-kernel.git] / kernel / module.c
index 9a565d51d56d99ab23abe70afae585144a1d3ea1..421ee8296b46b2170092f06888efdc7ab0e6dd72 100644 (file)
@@ -4300,6 +4300,13 @@ void module_layout(struct module *mod,
 EXPORT_SYMBOL(module_layout);
 #endif
 
+#ifdef CONFIG_MODULE_SIG
+void enforce_signed_modules(void)
+{
+       sig_enforce = true;
+}
+#endif
+
 bool secure_modules(void)
 {
 #ifdef CONFIG_MODULE_SIG