[PATCH 0/5] Fix session leader exit hang

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

 



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