]> xenbits.xensource.com Git - libvirt.git/commit
qemu: fix security labeling for attach/detach of char devices
authorPavel Hrdina <phrdina@redhat.com>
Fri, 1 Dec 2017 12:10:35 +0000 (13:10 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 5 Dec 2017 12:54:48 +0000 (13:54 +0100)
commit1c57eea3625f59a80bea08d8779837a40acc4660
tree84be1727f81e5ffa311cf17b788e2b551ae7c10f
parent1b4f66ec80d7751d4f4c858ffc8d5e3b936e72de
qemu: fix security labeling for attach/detach of char devices

Commit e93d844b90 was not enough to fix the permission denied
issue.  We need to apply security labels as well.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1465833

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_hotplug.c
src/qemu/qemu_security.c
src/qemu/qemu_security.h