The Samba-Bugzilla – Bug 8190
set the close on exec flag for the created pidfiles
Last modified: 2011-05-31 17:08:19 UTC
Created attachment 6502 [details]
patch for 3.5
set the close on exec flag for the created pidfiles, this went to master/3.6 in 20537d65166714f083256cf4f48b96d35786253a and Redhat ships with this for a while now.
While this is certainly okay, what is it that makes the pidfiles special? Shouldn't we do this for all fd's?