From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: xl: libxl_domain_info: getting domain info list: Bad address Date: Fri, 11 Sep 2015 17:01:04 +0100 Message-ID: <1441987264.3549.97.camel@citrix.com> References: <55F1B8D2.9040708@citrix.com> <1441961548.3549.13.camel@citrix.com> <55F29E51.5060506@citrix.com> <1441964293.3549.18.camel@citrix.com> <22002.62587.123417.80222@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <22002.62587.123417.80222@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: Julien Grall , Riku Voipio , Wei Liu , xen-devel List-Id: xen-devel@lists.xenproject.org On Fri, 2015-09-11 at 16:34 +0100, Ian Jackson wrote: > From 29e08dfa3a5c5a5aeb51fd01c67345e20cbb33c5 Mon Sep 17 00:00:00 2001 > From: Ian Jackson > Date: Fri, 11 Sep 2015 16:27:08 +0100 > Subject: [OSSTEST PATCH] cs-bisection-step: Cope with graph-out (testids) > containing ( ) etc. > > cr-try-bisect launders / in the testid but relies on other characters > being handled appropriately by cs-bisection-step. So for example it > can pass > > graph-out=/home/logs/results/bisect/linux-linus/test-armhf-armhf-xl > -arndale.leak-check--basis(8) > > But cs-bisection step foolishly assumed that the --graph-out argument > did not contain any shell metacharacters. Fix this. > > Specifically: > > * Change invocations of perl's open to use the 3-argument form > * Change invocations of system to pass individual arguments rather > than constructing a shell script fragment and relying on the shell > to split it up. > * In particular, in the png processing pipeline, use the "sh -ec >