Skip to content

Commit

Permalink
apparmor: sparse fix: include ipc.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: John Johansen <[email protected]>
  • Loading branch information
James Morris committed Sep 9, 2011
1 parent 58982b7 commit 33f8bf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions security/apparmor/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "include/capability.h"
#include "include/context.h"
#include "include/policy.h"
#include "include/ipc.h"

/* call back to audit ptrace fields */
static void audit_cb(struct audit_buffer *ab, void *va)
Expand Down

0 comments on commit 33f8bf5

Please sign in to comment.