[libvirt] [PATCH 5/5] qemuDomainCreateDevice: Canonicalize paths

Daniel P. Berrange berrange at redhat.com
Wed Jan 11 17:04:06 UTC 2017


On Wed, Jan 11, 2017 at 05:43:16PM +0100, Michal Privoznik wrote:
> So far the decision whether /dev/* entry is created in the qemu
> namespace is really simple: does the path starts with "/dev/"?
> This can be easily fooled by providing path like the following
> (for any considered device like disk, rng, chardev, ..):
> 
>   /dev/../var/lib/libvirt/images/disk.qcow2

Did you find someone/thing that was actually doing that ?

ACK

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|




More information about the libvir-list mailing list