]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security_selinux: Move transaction handling up one level
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 10 Sep 2018 08:10:25 +0000 (10:10 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 18 Sep 2018 15:12:53 +0000 (17:12 +0200)
commit62fd05194a64ca8a32aaad20ef06dbae445c69ea
tree048a56efb4af9fa7addf25825ef0c5db613e2f03
parent4a7a7808dc44f44d3902d7b8d2c3e929aaa1ec49
security_selinux: Move transaction handling up one level

So far the whole transaction handling is done
virSecuritySELinuxSetFileconHelper(). This needs to change for
the sake of security label remembering and locking. Otherwise we
would be locking a path when only appending it to transaction
list and not when actually relabelling it.

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