]> git.ipfire.org Git - thirdparty/libvirt.git/commit
selinux: relabel tapfd in qemuPhysIfaceConnect
authorGuannan Ren <gren@redhat.com>
Fri, 19 Oct 2012 08:44:30 +0000 (16:44 +0800)
committerCole Robinson <crobinso@redhat.com>
Sat, 27 Oct 2012 19:03:48 +0000 (15:03 -0400)
commitcefa64cafd63c4426ddb5cbc9ca360a432d46022
tree97bbc23cffd80fe566303be53cc6875c66e7a024
parentec08a738e8644e6edef846747019a9ccbba4f597
selinux: relabel tapfd in qemuPhysIfaceConnect

Relabeling tapfd right after the tap device is created.
qemuPhysIfaceConnect is common function called both for static
netdevs and for hotplug netdevs.
(cherry picked from commit 4492ef7f485a7d42d84a714d2150e648b11e2740)
src/qemu/qemu_command.c