[libvirt] [PATCH v4] selinux: relabel tapfd in qemuPhysIfaceConnect

2012-10-19 Thread Guannan Ren
Relabeling tapfd right after the tap device is created. qemuPhysIfaceConnect is common function called both for static netdevs and for hotplug netdevs. --- src/qemu/qemu_command.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/qemu/qemu_command.c

Re: [libvirt] [PATCH v4] selinux: relabel tapfd in qemuPhysIfaceConnect

2012-10-19 Thread Laine Stump
On 10/19/2012 04:44 AM, Guannan Ren wrote: Relabeling tapfd right after the tap device is created. qemuPhysIfaceConnect is common function called both for static netdevs and for hotplug netdevs. --- src/qemu/qemu_command.c | 18 ++ 1 file changed, 14 insertions(+), 4

Re: [libvirt] [PATCH v4] selinux: relabel tapfd in qemuPhysIfaceConnect

2012-10-19 Thread Guannan Ren
On 10/19/2012 11:55 PM, Laine Stump wrote: On 10/19/2012 04:44 AM, Guannan Ren wrote: Relabeling tapfd right after the tap device is created. qemuPhysIfaceConnect is common function called both for static netdevs and for hotplug netdevs. --- src/qemu/qemu_command.c | 18 ++ 1