Commit cc7db099 authored by James Morris's avatar James Morris

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: default avatarJames Morris <jmorris@namei.org>
Acked-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 7ee95850
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include "include/context.h" #include "include/context.h"
#include "include/policy.h" #include "include/policy.h"
#include "include/domain.h" #include "include/domain.h"
#include "include/procattr.h"
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment