Re: [PATCH 0/5] Fix session leader exit hang

From: Jiri Slaby
Date: Wed Mar 06 2013 - 11:20:27 EST


On 03/06/2013 01:20 PM, Peter Hurley wrote:
> When a session leader exits, it hangs up the controlling tty and
> then signals the foreground group processes with SIGHUP. This sequence
> can hang as reported by Sasha Levin, and noted in the changelog of
> 'tty: Signal SIGHUP before hanging up ldisc'.
>
>
> Peter Hurley (5):
> tty: Refactor session leader SIGHUP from __tty_hangup()
> tty: Fix spinlock flavor in non-atomic __tty_hangup()
> tty: Use spin_lock() inside existing critical region
> tty: Signal foreground group processes in hangup
> tty: Signal SIGHUP before hanging up ldisc
>
> drivers/tty/tty_io.c | 144 ++++++++++++++++++++++++++++++++++-----------------
> 1 file changed, 96 insertions(+), 48 deletions(-)
>

Hi, all three series look good to me.

--
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/