]> git.e2factory.org Git - e2factory.git/commit
set FD_CLOEXEC on dup'ed file descriptors in child
authorTobias Ulmer <tu@emlix.com>
Fri, 9 Oct 2015 17:17:47 +0000 (19:17 +0200)
committerTobias Ulmer <tu@emlix.com>
Fri, 9 Oct 2015 17:21:35 +0000 (19:21 +0200)
commite1152cee49ece1c3e6956654679098a72d8b33b3
tree2859f61c19fc9837e58d1eee0bbea8cc4764bc2b
parent1d596b23fb1be9d15e0875d2f550a9e5a816cda9
set FD_CLOEXEC on dup'ed file descriptors in child

Be careful not to close the descriptor we want to pass on (0, 1, 2)

Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/e2lib.lua