apparmor: fix capability to not use the current task, during reporting
authorJohn Johansen <john.johansen@canonical.com>
Tue, 8 Oct 2013 12:37:18 +0000 (05:37 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Wed, 30 Oct 2013 04:33:37 +0000 (21:33 -0700)
commitdd0c6e86f66080869ca0a48c78fb9bfbe4cf156f
treef97984485d11517840063f8d5e78c39f9f292c00
parent50b719f811583a47762ecb7e480d253abc2eb22f
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>
security/apparmor/capability.c
security/apparmor/domain.c
security/apparmor/include/capability.h
security/apparmor/include/ipc.h
security/apparmor/ipc.c
security/apparmor/lsm.c