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 /ChangeLog | |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -3,6 +3,19 @@ | |||
3 | openbsd-compat/openbsd-compat.h openbsd-compat/strptime.c] Add strptime to | 3 | openbsd-compat/openbsd-compat.h openbsd-compat/strptime.c] Add strptime to |
4 | the compat library which helps on platforms like old IRIX. Based on work | 4 | the compat library which helps on platforms like old IRIX. Based on work |
5 | by djm, tested by Tom Christensen. | 5 | by djm, tested by Tom Christensen. |
6 | - OpenBSD CVS Sync | ||
7 | - djm@cvs.openbsd.org 2010/08/12 21:49:44 | ||
8 | [ssh.c] | ||
9 | close any extra file descriptors inherited from parent at start and | ||
10 | reopen stdin/stdout to /dev/null when forking for ControlPersist. | ||
11 | |||
12 | prevents tools that fork and run a captive ssh for communication from | ||
13 | failing to exit when the ssh completes while they wait for these fds to | ||
14 | close. The inherited fds may persist arbitrarily long if a background | ||
15 | mux master has been started by ControlPersist. cvs and scp were effected | ||
16 | by this. | ||
17 | |||
18 | "please commit" markus@ | ||
6 | 19 | ||
7 | 20100812 | 20 | 20100812 |
8 | - (tim) [regress/login-timeout.sh regress/reconfigure.sh regress/reexec.sh | 21 | - (tim) [regress/login-timeout.sh regress/reconfigure.sh regress/reexec.sh |