Re: [PATCH] tty: Fix SIGTTOU not sent with tcflush()

2013-09-26 Thread Karel Srot
Hello Oleg, On Thu, 2013-09-26 at 21:10 +0200, Oleg Nesterov wrote: > On 09/26, Oleg Nesterov wrote: > > > > Thanks Peter. > > > > Well. I'am afraid my testing was wrong, because Karel reports > > it fixes the problem... > > > > But. I applied this patch to my 3.11 tree (last commit is bff157b3a)

Re: [PATCH] tty: Fix SIGTTOU not sent with tcflush()

2013-09-26 Thread Peter Hurley
On 09/26/2013 03:10 PM, Oleg Nesterov wrote: On 09/26, Oleg Nesterov wrote: Thanks Peter. Well. I'am afraid my testing was wrong, because Karel reports it fixes the problem... But. I applied this patch to my 3.11 tree (last commit is bff157b3a) which also has the additional patch (03e12617 "t

Re: [PATCH] tty: Fix SIGTTOU not sent with tcflush()

2013-09-26 Thread Oleg Nesterov
On 09/26, Oleg Nesterov wrote: > > Thanks Peter. > > Well. I'am afraid my testing was wrong, because Karel reports > it fixes the problem... > > But. I applied this patch to my 3.11 tree (last commit is bff157b3a) > which also has the additional patch (03e12617 "tty: disassociate_ctty() > sends the

Re: [PATCH] tty: Fix SIGTTOU not sent with tcflush()

2013-09-26 Thread Oleg Nesterov
Thanks Peter. Well. I'am afraid my testing was wrong, because Karel reports it fixes the problem... But. I applied this patch to my 3.11 tree (last commit is bff157b3a) which also has the additional patch (03e12617 "tty: disassociate_ctty() sends the extra SIGCONT"), and TET_CONFIG=CFG T

Re: [PATCH] tty: Fix SIGTTOU not sent with tcflush()

2013-09-25 Thread Greg Kroah-Hartman
On Wed, Sep 25, 2013 at 08:13:04PM -0400, Peter Hurley wrote: > Commit 'e7f3880cd9b98c5bf9391ae7acdec82b75403776' > tty: Fix recursive deadlock in tty_perform_flush() > introduced a regression where tcflush() does not generate > SIGTTOU for background process groups. > > Make sure ioctl(TCFLSH)

[PATCH] tty: Fix SIGTTOU not sent with tcflush()

2013-09-25 Thread Peter Hurley
Commit 'e7f3880cd9b98c5bf9391ae7acdec82b75403776' tty: Fix recursive deadlock in tty_perform_flush() introduced a regression where tcflush() does not generate SIGTTOU for background process groups. Make sure ioctl(TCFLSH) calls tty_check_change() when invoked from the line discipline. Cc: sta..