diff options
author | James Morris <jmorris@namei.org> | 2011-08-30 10:19:50 +1000 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-09-09 16:56:30 -0700 |
commit | d5813a571876c72766f125b1c6e63414f6822c28 (patch) | |
tree | fe688a7aa64fa890741e5a87800a3f95ddcaaee6 /security/integrity/ima | |
parent | b97e14520207dccb5cdf93f322e571bf907df104 (diff) | |
download | blackbird-op-linux-d5813a571876c72766f125b1c6e63414f6822c28.tar.gz blackbird-op-linux-d5813a571876c72766f125b1c6e63414f6822c28.zip |
ima: sparse fix: include linux/ima.h in ima_main.c
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>
Diffstat (limited to 'security/integrity/ima')
-rw-r--r-- | security/integrity/ima/ima_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/integrity/ima/ima_main.c b/security/integrity/ima/ima_main.c index 42dc27007fdd..1eff5cb001e5 100644 --- a/security/integrity/ima/ima_main.c +++ b/security/integrity/ima/ima_main.c @@ -22,6 +22,7 @@ #include <linux/mount.h> #include <linux/mman.h> #include <linux/slab.h> +#include <linux/ima.h> #include "ima.h" |