lkml.org 
[lkml]   [2009]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [Regression] kdesu broken
Date
On Saturday 25 July 2009, Alan Cox wrote:
> Actually try this:
>
>
> commit b0e6bdde87725a5d46273ecc4bd00c54bd675848
> Author: Alan Cox <alan@linux.intel.com>
> Date: Sat Jul 25 15:00:04 2009 +0100
>
> pty: ensure writes hit the reader before close
>
> This is elegant in all the wrong ways. Put the pty into low latency mode (which
> we can do as we always post bytes from user context). The tty_flip_buffer_push
> then always calls into the ldisc which means we clear the ldisc buffer before
> we set the TTY_OTHER_CLOSED flag.
>
> Means pty has subtle knowledge of tty internals we really don't want it to, but
> it fixes the problem for the moment.
>
> Signed-off-by: Alan Cox <alan@linux.intel.com>

Works for me, thanks!

Best,
Rafael


\
 
 \ /
  Last update: 2009-07-25 22:17    [W:0.141 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site