summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ssh/include
diff options
context:
space:
mode:
authorZdenek Kotala <Zdenek.Kotala@Sun.COM>2010-06-04 11:47:29 +0200
committerZdenek Kotala <Zdenek.Kotala@Sun.COM>2010-06-04 11:47:29 +0200
commit8b0ef7ed9d02af20a3d5106d84a4fc6aa0d7dd9f (patch)
treeff65c21b2be66a83daea8bb42cc3eb817e53ad94 /usr/src/cmd/ssh/include
parentab43d050e1c928fc2af0bbf98450a5358c535b1e (diff)
downloadillumos-joyent-8b0ef7ed9d02af20a3d5106d84a4fc6aa0d7dd9f.tar.gz
6953845 Sshd monitor process needs better debuging
6336266 ssh SIGWINCH handling races; some servers are very unforgiving 6953854 Channel handler could process just created channels
Diffstat (limited to 'usr/src/cmd/ssh/include')
-rw-r--r--usr/src/cmd/ssh/include/channels.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr/src/cmd/ssh/include/channels.h b/usr/src/cmd/ssh/include/channels.h
index 1845845f6a..83b41df0dd 100644
--- a/usr/src/cmd/ssh/include/channels.h
+++ b/usr/src/cmd/ssh/include/channels.h
@@ -33,8 +33,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
*/
/* $OpenBSD: channels.h,v 1.70 2002/06/24 14:33:27 markus Exp $ */
@@ -88,7 +87,11 @@ struct Channel {
int isatty; /* rfd is a tty */
int wfd_isatty; /* wfd is a tty */
int force_drain; /* force close on iEOF */
- int delayed; /* fdset hack */
+ int delayed; /* post-select handlers for newly created
+ * channels are delayed until the first call
+ * to a matching pre-select handler.
+ * this way post-select handlers are not
+ * accidenly called if a FD gets reused */
Buffer input; /* data read from socket, to be sent over
* encrypted connection */
Buffer output; /* data received over encrypted connection for