diff options
author | John Johansen <john.johansen@canonical.com> | 2013-10-08 16:37:18 +0400 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2013-10-30 08:33:37 +0400 |
commit | dd0c6e86f66080869ca0a48c78fb9bfbe4cf156f (patch) | |
tree | f97984485d11517840063f8d5e78c39f9f292c00 /security/apparmor/include/ipc.h | |
parent | 50b719f811583a47762ecb7e480d253abc2eb22f (diff) | |
download | linux-dd0c6e86f66080869ca0a48c78fb9bfbe4cf156f.tar.xz |
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/apparmor/include/ipc.h b/security/apparmor/include/ipc.h index aeda0fbc8b2f..288ca76e2fb1 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); |