]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Make qemuOpenFile aware of per-VM DAC seclabel.
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 24 May 2013 16:26:14 +0000 (18:26 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 24 Jul 2013 12:29:11 +0000 (14:29 +0200)
commit849df2875d52aba4d8b82d883c545a7101476d52
tree46073d8d59f8adc607e03d57da96a22e55311c99
parentbba579b6e06b1035776489432f70d048051eaa56
Make qemuOpenFile aware of per-VM DAC seclabel.

Function qemuOpenFile() haven't had any idea about seclabels applied
to VMs only, so in case the seclabel differed from the "user:group"
from configuration, there might have been issues with opening files.

Make qemuOpenFile() VM-aware, but only optionally, passing NULL
argument means skipping VM seclabel info completely.

However, all current qemuOpenFile() calls look like they should use VM
seclabel info in case there is any, so convert these calls as well.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=869053
src/qemu/qemu_driver.c