]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[PATCH] tty: fix the locking for signal->session in disassociate_ctty
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 12 Feb 2007 08:52:53 +0000 (00:52 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:31 +0000 (09:48 -0800)
commit2ea81868d8fba0bb56d7b45a08cc5f15dd2c6bb2
tree69b6df2015e315a5dcd0b8388c0cf4c6416734a5
parent680a96710041c3c25464b5e093b80ca43cb94f52
[PATCH] tty: fix the locking for signal->session in disassociate_ctty

commit 24ec839c431eb79bb8f6abc00c4e1eb3b8c4d517 while fixing the locking for
signal->tty got the locking wrong for signal->session.  This places our
accesses of signal->session back under the tasklist_lock where they belong.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_io.c