[PATCH] Create more sockets with SOCK_CLOEXEC [BZ #15722]
Florian Weimer
fweimer@redhat.com
Wed Apr 19 18:24:00 GMT 2017
On 04/19/2017 05:19 PM, Joseph Myers wrote:
> On Tue, 18 Apr 2017, Florian Weimer wrote:
>
>> diff --git a/inet/rcmd.c b/inet/rcmd.c
>> index b7cc7a8..e43d4af 100644
>> --- a/inet/rcmd.c
>> +++ b/inet/rcmd.c
>> @@ -383,6 +383,7 @@ rresvport_af (int *alport, sa_family_t family)
>> __set_errno (EAFNOSUPPORT);
>> return -1;
>> }
>> + /* NB: No SOCK_CLOXEC for backwards compatibility. */
>
> "CLOXEC" typo, repeated elsewhere in this patch.
Thanks, fixed with the attached patch.
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cloexec.patch
Type: text/x-patch
Size: 1048 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170419/25e6b2dc/attachment.bin>
More information about the Libc-alpha
mailing list