]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Reject any non-option command line arguments
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 16 May 2012 11:03:02 +0000 (12:03 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 16 May 2012 11:03:02 +0000 (12:03 +0100)
commit51bcb09fe946c01ff7e0f94fee0be9d6411ca2ad
treec306cfad9a6e4afe2bd8000c3214cc2f4db944d9
parenta8c0b2fed02e49d33915d7fa762e8f35fd07d815
Reject any non-option command line arguments

Due to a bug in editing /etc/sysconfig/libvirtd, VDSM was causing
libvirt processes to run with the following command line args

   /usr/sbin/libvirtd --listen '#' 'by vdsm'

While it correctly rejects any invalid option flags, libvirtd
was not rejecting any non-option command line arguments

* daemon/libvirtd.c: Reject non-option argv
daemon/libvirtd.c