[libvirt] [PATCH libvirt] Reject any non-option command line arguments

Eric Blake eblake at redhat.com
Wed May 16 14:35:40 UTC 2012


On 05/16/2012 05:05 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> 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 |    6 ++++++
>  1 file changed, 6 insertions(+)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120516/12089493/attachment-0001.sig>


More information about the libvir-list mailing list