diff options
author | James Morris <jmorris@namei.org> | 2011-08-30 02:19:50 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-09-10 01:56:30 +0200 |
commit | d5813a571876c72766f125b1c6e63414f6822c28 (patch) | |
tree | fe688a7aa64fa890741e5a87800a3f95ddcaaee6 /security | |
parent | ima: sparse fix: make ima_open_policy static (diff) | |
download | linux-d5813a571876c72766f125b1c6e63414f6822c28.tar.xz 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')
-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" |