Skip to content
Commit d9087c49 authored by John Johansen's avatar John Johansen
Browse files

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: default avatarJohn Johansen <john.johansen@canonical.com>
parent 3b529a76
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment