Skip to contentSkip to conversation

x86/ima: add missing include

PATCH New Mimi Zohar 1 participant 1 message Apr 4, 2019

Subsystems (2)
lore
Share & tools
lore

Mimi Zohar

author maintainer
#0 lore raw

PATCH 1/1 x86/ima: add missing include

As reported by 0-DAY kernel test infrastructure:
arch/x86//kernel/ima_arch.c: In function 'arch_get_ima_policy':

Quoted 1 line
Quoted 1 line

arch/x86//kernel/ima_arch.c:78:4: error: implicit declaration of

function 'set_module_sig_enforced' [-Werror=implicit-function-declaration]

---
 arch/x86/kernel/ima_arch.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/kernel/ima_arch.c +1 -0
index 3fb9847f1cad..85de790583f9 100644
@@ -3,6 +3,7 @@
  * Copyright (C) 2018 IBM Corporation
  */
 #include <linux/efi.h>
+#include <linux/module.h>
 #include <linux/ima.h>
 
 extern struct boot_params boot_params;
Signature · 1 line
2.7.5