security: fix deadlock with prefork
security: fix deadlock with prefork

Attempts to start a domain with both SELinux and DAC security
modules loaded will deadlock; latent problem introduced in commit
fdb3bde and exposed in commit 29fe5d7.  Basically, when recursing
into the security manager for other driver's prefork, we have to
undo the asymmetric lock taken at the manager level.

Reported by Jiri Denemark, with diagnosis help from Dan Berrange.

* src/security/security_stack.c (virSecurityStackPreFork): Undo
extra lock grabbed during recursion.

Signed-off-by: Eric Blake <a9da18479c871fe903d9590822cfe2629c6a4d11@redhat.com>

jardasgit/libvirt,andreabolognani/libvirt,nertpinx/libvirt,agx/libvirt,fabianfreyer/libvirt,agx/libvirt,agx/libvirt,eskultety/libvirt,jfehlig/libvirt,crobinso/libvirt,jardasgit/libvirt,zippy2/libvirt,elmarco/libvirt,fabianfreyer/libvirt,shugaoye/libvirt,libvirt/libvirt,andreabolognani/libvirt,agx/libvirt,crobinso/libvirt,olafhering/libvirt,eskultety/libvirt,taget/libvirt,shugaoye/libvirt,taget/libvirt,VenkatDatta/libvirt,zhlcindy/libvirt-1.1.4-maintain,cbosdo/libvirt,libvirt/libvirt,VenkatDatta/libvirt,zippy2/libvirt,eskultety/libvirt,cbosdo/libvirt,crobinso/libvirt,zhlcindy/libvirt-1.1.4-maintain,nertpinx/libvirt,shugaoye/libvirt,datto/libvirt,olafhering/libvirt,andreabolognani/libvirt,jfehlig/libvirt,jfehlig/libvirt,zhlcindy/libvirt-1.1.4-maintain,shugaoye/libvirt,zhlcindy/libvirt-1.1.4-maintain,fabianfreyer/libvirt,nertpinx/libvirt,rlaager/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,taget/libvirt,elmarco/libvirt,cbosdo/libvirt,libvirt/libvirt,datto/libvirt,shugaoye/libvirt,rlaager/libvirt,taget/libvirt,datto/libvirt,jfehlig/libvirt,zhlcindy/libvirt-1.1.4-maintain,andreabolognani/libvirt,eskultety/libvirt,olafhering/libvirt,elmarco/libvirt,nertpinx/libvirt,rlaager/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,taget/libvirt,elmarco/libvirt,zippy2/libvirt,zippy2/libvirt,cbosdo/libvirt,datto/libvirt,andreabolognani/libvirt,eskultety/libvirt,cbosdo/libvirt,datto/libvirt,agx/libvirt,nertpinx/libvirt,rlaager/libvirt,crobinso/libvirt,VenkatDatta/libvirt,libvirt/libvirt,elmarco/libvirt,rlaager/libvirt,olafhering/libvirt