[libvirt] [PATCH] Remove re-entrant API call in SELinux/AppArmor security managers

2013-02-11 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com The security manager drivers are not allowed to call back out to top level security manager APIs, since that results in recursive mutex acquisition and thus deadlock. Remove calls to virSecurityManagerGetModel from SELinux / AppArmor drivers

Re: [libvirt] [PATCH] Remove re-entrant API call in SELinux/AppArmor security managers

2013-02-11 Thread Richard W.M. Jones
On Mon, Feb 11, 2013 at 02:26:15PM +, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com The security manager drivers are not allowed to call back out to top level security manager APIs, since that results in recursive mutex acquisition and thus deadlock. Remove

Re: [libvirt] [PATCH] Remove re-entrant API call in SELinux/AppArmor security managers

2013-02-11 Thread Eric Blake
On 02/11/2013 07:50 AM, Richard W.M. Jones wrote: On Mon, Feb 11, 2013 at 02:26:15PM +, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com The security manager drivers are not allowed to call back out to top level security manager APIs, since that results in recursive