summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--mux.c5
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index de12bbef0..3f0471d70 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,14 @@
9 fix bz#1934: newer OpenSSL versions will require HMAC_CTX_Init before 9 fix bz#1934: newer OpenSSL versions will require HMAC_CTX_Init before
10 HMAC_init (this change in policy seems insane to me) 10 HMAC_init (this change in policy seems insane to me)
11 ok dtucker@ 11 ok dtucker@
12 - djm@cvs.openbsd.org 2011/12/04 23:16:12
13 [mux.c]
14 revert:
15 > revision 1.32
16 > date: 2011/12/02 00:41:56; author: djm; state: Exp; lines: +4 -1
17 > fix bz#1948: ssh -f doesn't fork for multiplexed connection.
18 > ok dtucker@
19 it interacts badly with ControlPersist
12 20
1320111125 2120111125
14 - OpenBSD CVS Sync 22 - OpenBSD CVS Sync
diff --git a/mux.c b/mux.c
index cbc04be71..0b7abda03 100644
--- a/mux.c
+++ b/mux.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: mux.c,v 1.32 2011/12/02 00:41:56 djm Exp $ */ 1/* $OpenBSD: mux.c,v 1.33 2011/12/04 23:16:12 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> 3 * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org>
4 * 4 *
@@ -95,7 +95,6 @@ extern Buffer command;
95extern volatile sig_atomic_t quit_pending; 95extern volatile sig_atomic_t quit_pending;
96extern char *stdio_forward_host; 96extern char *stdio_forward_host;
97extern int stdio_forward_port; 97extern int stdio_forward_port;
98extern int fork_after_authentication_flag;
99 98
100/* Context for session open confirmation callback */ 99/* Context for session open confirmation callback */
101struct mux_session_confirm_ctx { 100struct mux_session_confirm_ctx {
@@ -1803,8 +1802,6 @@ mux_client_request_session(int fd)
1803 if (tty_flag) 1802 if (tty_flag)
1804 enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE); 1803 enter_raw_mode(options.request_tty == REQUEST_TTY_FORCE);
1805 1804
1806 if (fork_after_authentication_flag)
1807 daemon(1, 1);
1808 /* 1805 /*
1809 * Stick around until the controlee closes the client_fd. 1806 * Stick around until the controlee closes the client_fd.
1810 * Before it does, it is expected to write an exit message. 1807 * Before it does, it is expected to write an exit message.