diff options
author | Damien Miller <djm@mindrot.org> | 2010-08-17 01:59:31 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2010-08-17 01:59:31 +1000 |
commit | 00d9ae26db2a8176f8ff511c207fa0bc7fadd562 (patch) | |
tree | a47c806a16673f2fd2c735a750bb7cf9b9343a58 /authfile.h | |
parent | aa74f6754aa3696cf15abb3f27b00a7274e062dd (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 'authfile.h')
0 files changed, 0 insertions, 0 deletions