Files
twx-linux/drivers/char
Oleg Nesterov 36323d56d5 [PATCH] tty: fix leakage of -ERESTARTSYS to userland
Spotted by Satoru Takeuchi.

kill_pgrp(task_pgrp(current)) sends the signal to the current's thread
group, but can choose any sub-thread as a target for signal_wake_up().
This means that job_control() and tty_check_change() may return
-ERESTARTSYS without signal_pending().

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-06-11 11:36:48 -07:00
..
2007-02-17 18:57:09 +01:00
2007-03-18 11:35:07 -07:00
2007-02-12 09:48:30 -08:00
2007-02-11 10:51:26 -08:00
2007-02-11 10:51:26 -08:00
2007-03-17 01:03:26 +00:00
2007-02-20 17:11:55 +00:00
2007-04-17 16:36:27 -07:00
2007-02-11 10:51:30 -08:00
2007-04-24 08:23:07 -07:00
2007-04-24 08:23:08 -07:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:30 -08:00
2007-02-11 10:51:26 -08:00
2007-02-12 09:48:30 -08:00
2007-02-11 10:51:28 -08:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:30 -08:00
2006-12-20 16:37:48 +11:00