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

apparmor: fix race condition in null profile creation



There is a race when null- profile is being created between the
initial lookup/creation of the profile and lock/addition of the
profile. This could result in multiple version of a profile being
added to the list which need to be removed/replaced.

Since these are learning profile their is no affect on mediation.

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