]> git.baikalelectronics.ru Git - 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)
commitfe6e5595a612c7bc6ce542ef5503d4519fa7b846
tree69b6df2015e315a5dcd0b8388c0cf4c6416734a5
parentacba16b26d1ec24e0f9eaa2b1e045e634882e564
[PATCH] tty: fix the locking for signal->session in disassociate_ctty

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