Re: Output truncated in ssh session after d2b6f44779d3 ("n_tty: Fix signal handling flushes")

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Jun 3, 2015 at 5:02 AM, Peter Hurley <peter@xxxxxxxxxxxxxxxxxx> wrote:
> Could echo be off at the moment the signal char is processed?

Now that you mention it, I think bash will re-enable echo from the
signal handler just before it prints "^C", newline, $PS1.

It's possible there's a race condition there causing the re-enabling
of echo to only have effect after those characters were printed...
I'll get some straces to show what exactly the shell is doing and what
ssh is getting from it.

Cheers,
Filipe
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux