]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virSecuritySELinuxRestoreImageLabelInt: Don't skip non-local storage
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 27 Jun 2019 09:17:52 +0000 (11:17 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 17 Dec 2019 09:04:44 +0000 (10:04 +0100)
commit284a12bae0e4cf93ea72797965d6c12e3a103f40
tree1433d829ec19d2bb2679fd5df8ed83faefdf1e11
parentc988a39c7bfaa9230c17146fd55e6cab009c120a
virSecuritySELinuxRestoreImageLabelInt: Don't skip non-local storage

This function is currently not called for any type of storage
source that is not considered 'local' (as defined by
virStorageSourceIsLocalStorage()). Well, NVMe disks are not
'local' from that point of view and therefore we will need to
call this function more frequently.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/security/security_apparmor.c
src/security/security_dac.c
src/security/security_selinux.c