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

Re: [Xen-devel] Re: [PATCH V9 7/7] libxl: Introduce a QMP client



On Thu, Sep 29, 2011 at 12:54, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx> wrote:
> On Thu, 2011-09-29 at 12:37 +0100, Anthony PERARD wrote:
>>
>> + Â Âqmp->qmp_fd = socket(AF_UNIX, SOCK_STREAM, 0);
>> + Â Âif (qmp->qmp_fd < 0) {
>> + Â Â Â Âreturn -1;
>> + Â Â}
>
> Is SOCK_CLOEXEC standard enough to use? Probably not.
>
> We should use FD_CLOEXEC though.

Ok, I will send a separate patch for this.

-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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