x86/ima: add missing include
authorMimi Zohar <zohar@linux.ibm.com>
Thu, 4 Apr 2019 02:12:17 +0000 (22:12 -0400)
committerMimi Zohar <zohar@linux.ibm.com>
Wed, 10 Apr 2019 20:41:00 +0000 (16:41 -0400)
As reported by 0-DAY kernel test infrastructure:
   arch/x86//kernel/ima_arch.c: In function 'arch_get_ima_policy':
>> arch/x86//kernel/ima_arch.c:78:4: error: implicit declaration of
function 'set_module_sig_enforced' [-Werror=implicit-function-declaration]

Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
arch/x86/kernel/ima_arch.c

index 3fb9847..85de790 100644 (file)
@@ -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;