Re: [PATCH] Fix OpenSSH pty regression on close

2016-03-01 Thread Peter Hurley
Hi Brian, Couple of procedural notes: I'm not a maintainer so can't take this patch directly. This patch should be addressed to the tty maintainers and cc me. What tree was this diff'd from? You should be using GregKH's tty-next branch on this tree git://git.kernel.org/pub/scm/linux/kernel/git/g

[PATCH] Fix OpenSSH pty regression on close

2016-02-29 Thread Brian Bloniarz
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 a