Re: [libvirt] [PATCH 10/n] util: don't support loopback and nbd when setuid

2014-03-31 Thread Peter Krempa
On 03/29/14 21:56, Eric Blake wrote: The only remaining reason that virt-login-shell was trying to link against virstoragefile was because of a call to virStorageFileFormatTypeToString when spawning a qemu-nbd process - but setuid processes shouldn't be spawning qemu-nbd. *

[libvirt] [PATCH 10/n] util: don't support loopback and nbd when setuid

2014-03-29 Thread Eric Blake
The only remaining reason that virt-login-shell was trying to link against virstoragefile was because of a call to virStorageFileFormatTypeToString when spawning a qemu-nbd process - but setuid processes shouldn't be spawning qemu-nbd. * src/util/virfile.c (virFileLoopDeviceAssociate)