Bug 8190 - set the close on exec flag for the created pidfiles
Summary: set the close on exec flag for the created pidfiles
Status: NEW
Alias: None
Product: Samba 3.5
Classification: Unclassified
Component: File services (show other bugs)
Version: 3.5.8
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
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