diff options
author | John Johansen <john.johansen@canonical.com> | 2013-10-08 05:37:18 -0700 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2013-10-29 21:33:37 -0700 |
commit | dd0c6e86f66080869ca0a48c78fb9bfbe4cf156f (patch) | |
tree | f97984485d11517840063f8d5e78c39f9f292c00 /security/apparmor/domain.c | |
parent | 50b719f811583a47762ecb7e480d253abc2eb22f (diff) | |
download | linux-dd0c6e86f66080869ca0a48c78fb9bfbe4cf156f.tar.bz2 |
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/domain.c')
-rw-r--r-- | security/apparmor/domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/domain.c b/security/apparmor/domain.c index 26c607c971f5..e5538a12d162 100644 --- a/security/apparmor/domain.c +++ b/security/apparmor/domain.c @@ -75,7 +75,7 @@ static int may_change_ptraced_domain(struct task_struct *task, if (!tracer || unconfined(tracerp)) goto out; - error = aa_may_ptrace(tracer, tracerp, to_profile, PTRACE_MODE_ATTACH); + error = aa_may_ptrace(tracerp, to_profile, PTRACE_MODE_ATTACH); out: rcu_read_unlock(); |