Re: [lxc-devel] [PATCH] attach: join apparmor profile

2013-03-01 Thread Stéphane Graber
On 03/01/2013 03:25 PM, Serge Hallyn wrote: > This patch enables lxc-attach to join the profile of the container it > is attaching to. Builds/runs fine with apparmor enabled and disabled. > > Export new aa_get_profile(), and use it for attach_apparmor, but also > handle profile names longer than

[lxc-devel] [PATCH] attach: join apparmor profile

2013-03-01 Thread Serge Hallyn
This patch enables lxc-attach to join the profile of the container it is attaching to. Builds/runs fine with apparmor enabled and disabled. Export new aa_get_profile(), and use it for attach_apparmor, but also handle profile names longer than 100 chars in lxc_start apparmor support. Signed-off-b