genrand: use set_close_on_exec()
authorAndrew Tridgell <tridge@samba.org>
Wed, 30 Nov 2011 04:18:08 +0000 (15:18 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 15 Dec 2011 22:36:22 +0000 (23:36 +0100)
commitcd6114ce65c13ae5c76a1a9ecc0f173650dd54ba
treee43539b5bab146f3633825e6e78dc5d1f57544fe
parent61e213a9b02e15fb94da9e78917e30334e5def85
genrand: use set_close_on_exec()

this prevents a fd leak to child processes