[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [RFC] libxc: check return values on mmap() and madvise() on xc_alloc_hypercall_buffer()



On Thu, 2014-05-08 at 03:34 -0700, Luis R. Rodriguez wrote:
> On Thu, May 8, 2014 at 3:15 AM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.