summaryrefslogtreecommitdiff
path: root/security/apparmor/procattr.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-29 05:45:44 +0400
committerJames Morris <jmorris@namei.org>2011-09-10 03:56:29 +0400
commitcc7db09952faefc86187c67c4adf5cbdb6fe2c1b (patch)
tree1a3f81bb166b480fc505fe9af3a9b92cf613df04 /security/apparmor/procattr.c
parent7ee95850bab6468f8213f36a84e872418d2faa00 (diff)
downloadlinux-cc7db09952faefc86187c67c4adf5cbdb6fe2c1b.tar.xz
apparmor: sparse fix: include procattr.h in procattr.c
Fix sparse warnings: security/apparmor/procattr.c:35:5: warning: symbol 'aa_getprocattr' was not declared. Should it be static? security/apparmor/procattr.c:113:5: warning: symbol 'aa_setprocattr_changehat' was not declared. Should it be static? security/apparmor/procattr.c:158:5: warning: symbol 'aa_setprocattr_changeprofile' was not declared. Should it be static? security/apparmor/procattr.c:166:5: warning: symbol 'aa_setprocattr_permipc' was not declared. Should it be static? Signed-off-by: James Morris <jmorris@namei.org> Acked-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/procattr.c')
-rw-r--r--security/apparmor/procattr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/procattr.c b/security/apparmor/procattr.c
index 04a2cf8d1b65..1b41c542d376 100644
--- a/security/apparmor/procattr.c
+++ b/security/apparmor/procattr.c
@@ -16,6 +16,7 @@
#include "include/context.h"
#include "include/policy.h"
#include "include/domain.h"
+#include "include/procattr.h"
/**