BZ#15722: create all sockets with SOCK_CLOEXEC

Alexandre Oliva aoliva@redhat.com
Tue Dec 16 18:32:00 GMT 2014


On Dec 11, 2014, Ondřej Bílka <neleai@seznam.cz> wrote:

> On Tue, Dec 09, 2014 at 03:53:46PM -0200, Alexandre Oliva wrote:
>> On Nov 14, 2014, Alexandre Oliva <aoliva@redhat.com> wrote:
>> 
>> > Here's a revised patch that moves __sock_cloexec to its own header,
>> > dropping the __need* ugliness that had been introduced to fix the mutual
>> > inclusion of headers.  How's this?
>> 
>> Ping?
>> https://sourceware.org/ml/libc-alpha/2014-11/msg00335.html
>> 
> Its ok from code perspective, but only internal sockets could use
> CLOEXEC.

*nod*.  I'll have to review the patch under that light.

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer



More information about the Libc-alpha mailing list