ima: sparse fix: include linux/ima.h in ima_main.c
authorJames Morris <jmorris@namei.org>
Tue, 30 Aug 2011 00:19:50 +0000 (10:19 +1000)
committerJames Morris <jmorris@namei.org>
Fri, 9 Sep 2011 23:56:30 +0000 (16:56 -0700)
Fixes sparse warnings:
security/integrity/ima/ima_main.c:105:6: warning: symbol 'ima_file_free' was not declared. Should it be static?
security/integrity/ima/ima_main.c:167:5: warning: symbol 'ima_file_mmap' was not declared. Should it be static?
security/integrity/ima/ima_main.c:192:5: warning: symbol 'ima_bprm_check' was not declared. Should it be static?
security/integrity/ima/ima_main.c:211:5: warning: symbol 'ima_file_check' was not declared. Should it be static?

Signed-off-by: James Morris <jmorris@namei.org>
security/integrity/ima/ima_main.c

index 42dc27007fdda90801b104207444b8e3e5e41351..1eff5cb001e53b511d7d9ec96adc320af73a6a66 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/mount.h>
 #include <linux/mman.h>
 #include <linux/slab.h>
+#include <linux/ima.h>
 
 #include "ima.h"