Commit cc7db09952faefc86187c67c4adf5cbdb6fe2c1b

Authored by James Morris
1 parent 7ee95850ba

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

security/apparmor/procattr.c
... ... @@ -16,6 +16,7 @@
16 16 #include "include/context.h"
17 17 #include "include/policy.h"
18 18 #include "include/domain.h"
  19 +#include "include/procattr.h"
19 20  
20 21  
21 22 /**