Commit 33f8bf588070e84bb29c3a726758dbb5791fc95e

Authored by James Morris
1 parent 58982b7483

apparmor: sparse fix: include ipc.h

Include ipc.h to eliminate sparse warnings.

security/apparmor/ipc.c:61:5: warning: symbol 'aa_may_ptrace' was not declared. Should it be static?
security/apparmor/ipc.c:83:5: warning: symbol 'aa_ptrace' 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/ipc.c
... ... @@ -19,6 +19,7 @@
19 19 #include "include/capability.h"
20 20 #include "include/context.h"
21 21 #include "include/policy.h"
  22 +#include "include/ipc.h"
22 23  
23 24 /* call back to audit ptrace fields */
24 25 static void audit_cb(struct audit_buffer *ab, void *va)