pidfile: use set_close_on_exec()
authorAndrew Tridgell <tridge@samba.org>
Wed, 30 Nov 2011 04:18:54 +0000 (15:18 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 15 Dec 2011 22:36:22 +0000 (23:36 +0100)
commitfae42c1f41435bf087c23d384cd6147dd9f7f4ef
tree86b57d78646f07e6058d66be0566cf9f79704588
parent9f4c3da734adbabf457074563f3fb3fae7b85585
pidfile: use set_close_on_exec()

this prevents a fd leak to child processes
source4/smbd/pidfile.c