commit | 999b4f0aa2314b76857775334cb94bafa053db64 | [log] [tgz] |
---|---|---|
author | John Johansen <john.johansen@canonical.com> | Fri Aug 27 18:33:29 2010 -0700 |
committer | James Morris <jmorris@namei.org> | Wed Sep 08 09:19:34 2010 +1000 |
tree | 0b2b9e6d54415d0d6f6ff59526c68108c09d1fd7 | |
parent | 04ccd53f09741c4bc54ab36db000bc1383e4812e [diff] |
AppArmor: Fix locking from removal of profile namespace The locking for profile namespace removal is wrong, when removing a profile namespace, it needs to be removed from its parent's list. Lock the parent of namespace list instead of the namespace being removed. Signed-off-by: John Johansen <john.johansen@canonical.com> Signed-off-by: James Morris <jmorris@namei.org>