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

apparmor: convert to profile block critical sections



There are still a few places where profile replacement fails to update
and a stale profile is used for mediation. Fix this by moving to
accessing the current label through a critical section that will
always ensure mediation is using the current label regardless of
whether the tasks cred has been updated or not.

Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent fe864821
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