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(-)

-- 
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to