]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
apparmor: rework namespace free path
authorJohn Johansen <john.johansen@canonical.com>
Thu, 11 Jul 2013 04:10:43 +0000 (21:10 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Wed, 14 Aug 2013 18:42:06 +0000 (11:42 -0700)
commit742058b0f3a2ed32e2a7349aff97989dc4e32452
tree25cc9f3f65e0b7889d5509396f6727d29a47ff57
parentfa2ac468db510c653499a47c1ec3deb045bf4763
apparmor: rework namespace free path

namespaces now completely use the unconfined profile to track the
refcount and rcu freeing cycle. So rework the code to simplify (track
everything through the profile path right up to the end), and move the
rcu_head from policy base to profile as the namespace no longer needs
it.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Seth Arnold <seth.arnold@canonical.com>
security/apparmor/include/policy.h
security/apparmor/policy.c