[PATCH] Assume that SOCK_CLOEXEC is available and works
Mike Frysinger
vapier@gentoo.org
Sat Oct 17 03:25:00 GMT 2015
On 13 Oct 2015 14:27, Florian Weimer wrote:
> This fixes (harmless, I assume) data races when accessing the various
> __have_sock_cloexec variables.
>
> Compiled and tested on x86_64-redhat-linux-gnu. According to the
> previous thread (“O_CLOEXEC and SOCK_CLOEXEC“), there might be some
> impact of this change on Hurd and NaCl, but it seems manageable.
looks good, but shouldn't we also drop __ASSUME_O_CLOEXEC ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20151017/de7962f4/attachment.sig>
More information about the Libc-alpha
mailing list