Bug 8190 - set the close on exec flag for the created pidfiles
set the close on exec flag for the created pidfiles
Status: NEW
Product: Samba 3.5
Classification: Unclassified
Component: File services
3.5.8
All All
: P5 normal
: ---
Assigned To: Volker Lendecke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-31 11:25 UTC by Guenther Deschner
Modified: 2011-05-31 17:08 UTC (History)
0 users

See Also:
vl: review+


Attachments
patch for 3.5 (778 bytes, patch)
2011-05-31 11:25 UTC, Guenther Deschner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guenther Deschner 2011-05-31 11:25:58 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.
Comment 1 Volker Lendecke 2011-05-31 17:08:19 UTC
While this is certainly okay, what is it that makes the pidfiles special? Shouldn't we do this for all fd's?

Volker