commit | 4eeb9ed7d9c6ce4100c2cc4a8e31d7b58840dfcb | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Thu Aug 09 13:32:19 2018 +0800 |
committer | Jeremy Kerr <jk@ozlabs.org> | Thu Aug 09 13:46:19 2018 +0800 |
tree | 5713646d0a396ce4943bc84d837ddd67641f3fa6 | |
parent | c6134c1c85816d7a5b14ed0da157617543419ac5 [diff] |
nbd-proxy: use CLOEXEC We spawn a couple of subprocesses, and want to make sure we don't leak file descriptors to those. Rather than closing before exec, set CLOEXEC on sockets and internal pipes. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>