commit | 290638a52a808d658bd04b746b3ca46886c157e0 | [log] [tgz] |
---|---|---|
author | John Johansen <john.johansen@canonical.com> | Wed Aug 16 05:40:49 2017 -0700 |
committer | John Johansen <john.johansen@canonical.com> | Fri Sep 22 13:00:58 2017 -0700 |
tree | 0168c39c9e3265e7a053dbcbea09dc2d4864f16b | |
parent | d07881d2edb0ab783846730629ac2faeaafdf4f1 [diff] |
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: John Johansen <john.johansen@canonical.com>