BZ#15722: create all sockets with SOCK_CLOEXEC

Thomas Schwinge thomas@codesourcery.com
Fri Dec 12 06:21:00 GMT 2014


Hi!

On Thu, 11 Dec 2014 11:29:34 -0800 (PST), Roland McGrath <roland@hack.frob.com> wrote:
> Perhaps we actually can require SOCK_CLOEXEC support nowadays, but we
> haven't ever explicitly said so before.  (For Linux configurations,
> __ASSUME_SOCK_CLOEXEC is always set since we now support only kernels
> new enough.  For the Hurd, *_CLOEXEC are actually implemented entirely
> in libc, though SOCK_CLOEXEC is not actually implemented yet.

I have pending patches for the latter -- from 2008 ;-) -- which just need
some cleanup before integration, but which we've been using ever since in
our internal glibc maintenance branch, so don't let that be a hindrance.


Grüße,
 Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20141212/d2c0ed20/attachment.sig>


More information about the Libc-alpha mailing list