summaryrefslogtreecommitdiff
path: root/security/apparmor/domain.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2017-01-16 11:42:59 +0300
committerJohn Johansen <john.johansen@canonical.com>2017-01-16 12:18:45 +0300
commita20aa95fbe1abb4c6f333a1f55e9fd15b01c7f12 (patch)
treeb3a7316e235e2281d0e02a958dc6d29b63ada8f7 /security/apparmor/domain.c
parentb7fd2c0340eacbee892425e9007647568b7f2a3c (diff)
downloadlinux-a20aa95fbe1abb4c6f333a1f55e9fd15b01c7f12.tar.xz
apparmor: fail task profile update if current_cred isn't real_cred
Trying to update the task cred while the task current cred is not the real cred will result in an error at the cred layer. Avoid this by failing early and delaying the update. Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/domain.c')
0 files changed, 0 insertions, 0 deletions