]> xenbits.xensource.com Git - libvirt.git/commit
security_manager: Rework metadata locking
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 2 Oct 2018 12:47:20 +0000 (14:47 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 16 Nov 2018 12:42:39 +0000 (13:42 +0100)
commit207860927adc0828fd63534d784290b5e5cd316e
tree7bc6df856c641f12e71bf09b69c88d78c4088ec2
parenta2f0b97ab797460c2661e72000556442a038a474
security_manager: Rework metadata locking

Trying to use virlockd to lock metadata turns out to be too big
gun. Since we will always spawn a separate process for relabeling
we are safe to use thread unsafe POSIX locks and take out
virtlockd completely out of the picture.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/security/security_dac.c
src/security/security_manager.c
src/security/security_manager.h
src/security/security_selinux.c