From: Ian Campbell Subject: Re: [RFC] libxc: check return values on mmap() and madvise() on xc_alloc_hypercall_buffer() Date: Thu, 8 May 2014 12:32:21 +0100 Message-ID: <1399548741.9513.72.camel@kazak.uk.xensource.com> References: <1399499244-4421-1-git-send-email-mcgrof@do-not-panic.com> <536AAF3F.3070700@citrix.com> <20140508050320.GD13289@wotan.suse.de> <1399544125.9513.37.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WiMYs-0004k5-HZ for xen-devel@lists.xenproject.org; Thu, 08 May 2014 11:32:26 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Luis R. Rodriguez" Cc: Andrew Cooper , Ian Jackson , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-05-08 at 03:34 -0700, Luis R. Rodriguez wrote: > On Thu, May 8, 2014 at 3:15 AM, Ian Campbell wrote: > > On Thu, 2014-05-08 at 07:03 +0200, Luis R. Rodriguez wrote: > >> > > BTW I see no ldconfig run after make install, where do we want to put it > >> > > given we have a few libs ? > >> > >> How about this? > > > > Isn't this conventionally the admin's responsibility? > > If that is part of the documentation of requirements :) http://wiki.xen.org/wiki/Compiling_Xen_From_Source Ctrl-F ldconfig Profit. > > >> > error cleanup; > >> > > >> > > >> > as it is small enough to do without an out; label. > >> > >> Sure, that makes sesnse. > > > > The out label idiom you have used is pretty conventional and will save > > faff if some other operation gets added here. I'm happy with the patch > > as it is. > > OK feel free to take it then. > > BTW any idea where in code we get the trigger for what strace picks up as: > > 1742 write(22, "b", 1) = 1 No idea. /proc/$pid/fds might tell you what fd 22 is, which might start to give a clue. > I'm now in a state where instead of b I get "/" written and I just > can't explain this yet. > > Luis