Commit 33f8bf58 authored by James Morris's avatar James Morris
Browse files

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: default avatarJames Morris <jmorris@namei.org>
Acked-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 58982b74
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include "include/capability.h" #include "include/capability.h"
#include "include/context.h" #include "include/context.h"
#include "include/policy.h" #include "include/policy.h"
#include "include/ipc.h"
/* call back to audit ptrace fields */ /* call back to audit ptrace fields */
static void audit_cb(struct audit_buffer *ab, void *va) static void audit_cb(struct audit_buffer *ab, void *va)
......
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