summaryrefslogtreecommitdiffstats
path: root/security/apparmor/procattr.c
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2011-08-29 03:45:44 +0200
committerJames Morris <jmorris@namei.org>2011-09-10 01:56:29 +0200
commitcc7db09952faefc86187c67c4adf5cbdb6fe2c1b (patch)
tree1a3f81bb166b480fc505fe9af3a9b92cf613df04 /security/apparmor/procattr.c
parentapparmor: sparse fix: rename shadowed variables in policy_unpack.c (diff)
downloadlinux-cc7db09952faefc86187c67c4adf5cbdb6fe2c1b.tar.xz
linux-cc7db09952faefc86187c67c4adf5cbdb6fe2c1b.zip
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 '')
-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"
/**