This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: BZ#15722: create all sockets with SOCK_CLOEXEC
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: Roland McGrath <roland at hack dot frob dot com>, libc-alpha at sourceware dot org
- Date: Thu, 11 Dec 2014 14:17:28 +0100
- Subject: Re: BZ#15722: create all sockets with SOCK_CLOEXEC
- Authentication-results: sourceware.org; auth=none
- References: <oregt6ahn2 dot fsf at free dot home> <20141113222048 dot A8CD02C3B18 at topped-with-meat dot com> <orzjbuy121 dot fsf at free dot home> <orh9x4yaj9 dot fsf at free dot home>
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. Could you clarify why for sunrpc user cannot do trick of saving
sockets in file, then restarting with exec and reading file to keep
socket alive?