]> git.ipfire.org Git - thirdparty/lxc.git/commit
apparmor: don't do on-exec profile changes
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 21 Feb 2014 19:53:46 +0000 (13:53 -0600)
committerStéphane Graber <stgraber@ubuntu.com>
Sat, 22 Feb 2014 23:33:29 +0000 (18:33 -0500)
commitb2fe91c7d4e9dd26903dca9801a32a03a65bd2a4
tree07cd01efe9d890d07dad6c2ffdc0e84bc6f83952
parent223b1e0c874181883d0f75f9d7e7f80a67f85faf
apparmor: don't do on-exec profile changes

always change profile immediately.  Otherwise there are weird
corner cases where the profile change may not happen.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lsm/apparmor.c