Files
android_kernel_xiaomi_sm8450/security/apparmor
John Johansen ec34fa24a9 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>
2016-07-12 08:43:10 -07:00
..
2016-03-28 00:47:26 -04:00
2015-05-12 15:00:41 +10:00
2016-03-28 00:47:26 -04:00
2015-10-22 11:11:28 +11:00
2014-05-06 14:02:53 -04:00
2016-03-28 00:47:36 -04:00
2010-08-02 15:38:37 +10:00