[PATCH] Set close on exec in socket accept calls.

Andreas Schneider asn at samba.org
Wed Nov 8 16:15:49 UTC 2017


On Sunday, 5 November 2017 19:44:50 CET Gary Lockyer via samba-technical 
wrote:
> Set SOCK_CLOEXEC on accept calls, this patch assumes that the samba
> accepts are all handled by the socket wrapper code.
> 
> As always comments and reviews appreciated

I'm sorry but why do you want to set this flag? It doesn't really make sense 
especially for socket wrapper!


	Andreas



More information about the samba-technical mailing list