commit | d9087c49d4388e3f35f09a5cf7ed6e09c9106604 | [log] [tgz] |
---|---|---|
author | John Johansen <john.johansen@canonical.com> | Fri Jan 27 03:53:53 2017 -0800 |
committer | John Johansen <john.johansen@canonical.com> | Fri Feb 09 11:30:01 2018 -0800 |
tree | cdc1032157a2cb4ceb8c8f5278f7a280acf9d463 | |
parent | 3b529a7600d834f450ac244f43a7c082687284b4 [diff] |
apparmor: drop cred_ctx and reference the label directly With the task domain change information now stored in the task->security context, the cred->security context only stores the label. We can get rid of the cred_ctx and directly reference the label, removing a layer of indirection, and unneeded extra allocations. Signed-off-by: John Johansen <john.johansen@canonical.com>