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)
commitd581c9d284e7c635b0379d57e95cb32e682f0f02
tree23d275c3a99c61305b6c5428e81b5926b92a03f2
parent3b56f64923a71a90734c5167d549e4eb14002d18
genrand: use set_close_on_exec()

this prevents a fd leak to child processes
lib/util/genrand.c