Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1371176 > unrolled thread

Re: [PATCH v3] Fix OpenSSH pty regression on close

Started byPeter Hurley <peter@hurleysoftware.com>
First post2016-04-05 05:50 +0200
Last post2016-04-05 05:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v3] Fix OpenSSH pty regression on close Peter Hurley <peter@hurleysoftware.com> - 2016-04-05 05:50 +0200

#1371176 — Re: [PATCH v3] Fix OpenSSH pty regression on close

FromPeter Hurley <peter@hurleysoftware.com>
Date2016-04-05 05:50 +0200
SubjectRe: [PATCH v3] Fix OpenSSH pty regression on close
Message-ID<rkqa6-5dS-15@gated-at.bofh.it>
On 03/06/2016 01:16 PM, Brian Bloniarz wrote:
> 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) f8747d4a466ab2cafe56112c51b3379f9fdb7a12
>    tty: Fix pty master read() after slave closes
> 
> 2) 52bce7f8d4fc633c9a9d0646eef58ba6ae9a3b73
>    pty, n_tty: Simplify input processing on final close
> 
> 3) 1a48632ffed61352a7810ce089dc5a8bcd505a60
>    pty: Fix input race when closing

Reviewed-by: Peter Hurley <peter@hurleysoftware.com>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web