|
|
|
|
|
|
|
|
|
|
xen-devel
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
|
|
|
|
|