summaryrefslogtreecommitdiffstats
path: root/security/apparmor/include/ipc.h
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2013-10-08 05:37:18 -0700
committerJohn Johansen <john.johansen@canonical.com>2013-10-29 21:33:37 -0700
commitdd0c6e86f66080869ca0a48c78fb9bfbe4cf156f (patch)
treef97984485d11517840063f8d5e78c39f9f292c00 /security/apparmor/include/ipc.h
parent50b719f811583a47762ecb7e480d253abc2eb22f (diff)
downloadop-kernel-dev-dd0c6e86f66080869ca0a48c78fb9bfbe4cf156f.zip
op-kernel-dev-dd0c6e86f66080869ca0a48c78fb9bfbe4cf156f.tar.gz
apparmor: fix capability to not use the current task, during reporting
Mediation is based off of the cred but auditing includes the current task which may not be related to the actual request. Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/ipc.h')
-rw-r--r--security/apparmor/include/ipc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/apparmor/include/ipc.h b/security/apparmor/include/ipc.h
index aeda0fbc..288ca76 100644
--- a/security/apparmor/include/ipc.h
+++ b/security/apparmor/include/ipc.h
@@ -19,8 +19,8 @@
struct aa_profile;
-int aa_may_ptrace(struct task_struct *tracer_task, struct aa_profile *tracer,
- struct aa_profile *tracee, unsigned int mode);
+int aa_may_ptrace(struct aa_profile *tracer, struct aa_profile *tracee,
+ unsigned int mode);
int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee,
unsigned int mode);
OpenPOWER on IntegriCloud