summaryrefslogtreecommitdiff
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2010-08-17 01:59:31 +1000
committerDamien Miller <djm@mindrot.org>2010-08-17 01:59:31 +1000
commit00d9ae26db2a8176f8ff511c207fa0bc7fadd562 (patch)
treea47c806a16673f2fd2c735a750bb7cf9b9343a58 /ssh-keyscan.c
parentaa74f6754aa3696cf15abb3f27b00a7274e062dd (diff)
- djm@cvs.openbsd.org 2010/08/12 21:49:44
[ssh.c] close any extra file descriptors inherited from parent at start and reopen stdin/stdout to /dev/null when forking for ControlPersist. prevents tools that fork and run a captive ssh for communication from failing to exit when the ssh completes while they wait for these fds to close. The inherited fds may persist arbitrarily long if a background mux master has been started by ControlPersist. cvs and scp were effected by this. "please commit" markus@
Diffstat (limited to 'ssh-keyscan.c')
0 files changed, 0 insertions, 0 deletions