]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security: selinux: Pass parent storage source into image labeling helper
authorPeter Krempa <pkrempa@redhat.com>
Tue, 17 Oct 2017 05:25:51 +0000 (07:25 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 3 Nov 2017 08:15:41 +0000 (09:15 +0100)
commit023da7ddbd048efed41c37923c79456fb4ec92c1
treea54e7d0f611d4916e507bcc09af8215970d386d8
parentb4daf6af9adba96fc5e0bd68d49602a67639b053
security: selinux: Pass parent storage source into image labeling helper

virSecuritySELinuxSetImageLabelInternal assigns different labels to
backing chain members than to the parent image. This was done via the
'first' flag. Convert it to passing in pointer to the parent
virStorageSource. This will allow us to use the parent virStorageSource
in further changes.
src/security/security_selinux.c