diff options
author | John Johansen <john.johansen@canonical.com> | 2016-04-12 01:57:19 +0200 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2016-07-12 17:43:10 +0200 |
commit | ec34fa24a934f4c8fd68f39b84abf34c42e5b06a (patch) | |
tree | 1ffe3fcae38b932de7ace29fed87dd4e98cf768a /lib/atomic64_test.c | |
parent | apparmor: fix refcount bug in profile replacement (diff) | |
download | linux-ec34fa24a934f4c8fd68f39b84abf34c42e5b06a.tar.xz linux-ec34fa24a934f4c8fd68f39b84abf34c42e5b06a.zip |
apparmor: fix replacement bug that adds new child to old parent
When set atomic replacement is used and the parent is updated before the
child, and the child did not exist in the old parent so there is no
direct replacement then the new child is incorrectly added to the old
parent. This results in the new parent not having the child(ren) that
it should and the old parent when being destroyed asserting the
following error.
AppArmor: policy_destroy: internal error, policy '<profile/name>' still
contains profiles
Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Seth Arnold <seth.arnold@canonical.com>
Diffstat (limited to 'lib/atomic64_test.c')
0 files changed, 0 insertions, 0 deletions