summaryrefslogtreecommitdiff
path: root/security/apparmor/policy_ns.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2017-08-16 05:40:49 -0700
committerJohn Johansen <john.johansen@canonical.com>2017-09-22 13:00:58 -0700
commit290638a52a808d658bd04b746b3ca46886c157e0 (patch)
tree0168c39c9e3265e7a053dbcbea09dc2d4864f16b /security/apparmor/policy_ns.c
parentd07881d2edb0ab783846730629ac2faeaafdf4f1 (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>
Diffstat (limited to 'security/apparmor/policy_ns.c')
0 files changed, 0 insertions, 0 deletions