This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BZ#15722: create all sockets with SOCK_CLOEXEC


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]