1
0
Fork 0
remarkable-linux/Documentation/serial
Brian Bloniarz 29a7543e33 Fix OpenSSH pty regression on close
[ Upstream commit 0f40fbbcc3 ]

OpenSSH expects the (non-blocking) read() of pty master to return
EAGAIN only if it has received all of the slave-side output after
it has received SIGCHLD. This used to work on pre-3.12 kernels.

This fix effectively forces non-blocking read() and poll() to
block for parallel i/o to complete for all ttys. It also unwinds
these changes:

1) f8747d4a46
   tty: Fix pty master read() after slave closes

2) 52bce7f8d4
   pty, n_tty: Simplify input processing on final close

3) 1a48632ffe
   pty: Fix input race when closing

Inspired by analysis and patch from Marc Aurele La France <tsi@tuyoix.net>

Reported-by: Volth <openssh@volth.com>
Reported-by: Marc Aurele La France <tsi@tuyoix.net>
BugLink: https://bugzilla.mindrot.org/show_bug.cgi?id=52
BugLink: https://bugzilla.mindrot.org/show_bug.cgi?id=2492
Signed-off-by: Brian Bloniarz <brian.bloniarz@gmail.com>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-06-03 19:15:40 -04:00
..
00-INDEX Documentation/serial: Delete obsolete driver documentation 2014-04-16 14:20:34 -07:00
README.cycladesZ Create/use more directory structure in the Documentation/ tree. 2008-11-14 17:28:53 +00:00
driver serial: Fix locking for uart driver set_termios() method 2014-11-05 18:53:54 -08:00
moxa-smartio Fix common misspellings 2011-03-31 11:26:23 -03:00
n_gsm.txt Fix common misspellings 2011-03-31 11:26:23 -03:00
rocket.txt Documentation: remove references to /etc/modprobe.conf 2012-03-30 16:03:15 -07:00
serial-rs485.txt Documentation: serial: fix header path 2014-09-08 16:10:01 -07:00
tty.txt Fix OpenSSH pty regression on close 2016-06-03 19:15:40 -04:00

README.cycladesZ

The Cyclades-Z must have firmware loaded onto the card before it will
operate.  This operation should be performed during system startup,

The firmware, loader program and the latest device driver code are
available from Cyclades at
    ftp://ftp.cyclades.com/pub/cyclades/cyclades-z/linux/