s4-socket: use set_close_on_exec()
authorAndrew Tridgell <tridge@samba.org>
Wed, 30 Nov 2011 04:18:45 +0000 (15:18 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 15 Dec 2011 22:36:22 +0000 (23:36 +0100)
commit9f4c3da734adbabf457074563f3fb3fae7b85585
treebfb3b1eaadbb912547fc325b66eb199e535eda9d
parentd581c9d284e7c635b0379d57e95cb32e682f0f02
s4-socket: use set_close_on_exec()

this prevents a fd leak to child processes
source4/lib/socket/socket_ip.c
source4/lib/socket/socket_unix.c