Roland McGrath
7bb44adef3
recalc_sigpending_tsk fixes
...
Steve Hawkes discovered a problem where recalc_sigpending_tsk was called in
do_sigaction but no signal_wake_up call was made, preventing later signals
from waking up blocked threads with TIF_SIGPENDING already set.
In fact, the few other calls to recalc_sigpending_tsk outside the signals
code are also subject to this problem in other race conditions.
This change makes recalc_sigpending_tsk private to the signals code. It
changes the outside calls, as well as do_sigaction, to use the new
recalc_sigpending_and_wake instead.
Signed-off-by: Roland McGrath <roland@redhat.com >
Cc: <Steve.Hawkes@motorola.com >
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 >
2007-05-23 20:14:12 -07:00
..
2007-05-14 19:33:46 -04:00
2007-05-08 18:00:38 -07:00
2007-05-09 13:26:52 +01:00
2007-05-10 23:47:43 -07:00
2007-05-10 23:47:43 -07:00
2007-05-10 23:47:43 -07:00
2007-05-10 23:47:43 -07:00
2007-05-09 18:51:36 -07:00
2007-05-14 19:33:47 -04:00
2007-05-10 03:52:22 -04:00
2007-05-11 08:29:37 -07:00
2007-05-11 08:29:37 -07:00
2007-05-11 08:29:36 -07:00
2007-05-11 05:38:26 -04:00
2007-05-17 05:23:05 -07:00
2007-05-09 12:30:51 -07:00
2007-05-23 20:14:12 -07:00
2007-05-09 12:30:56 -07:00
2007-05-14 12:16:01 -07:00
2007-05-09 12:30:56 -07:00
2007-05-09 12:30:56 -07:00
2007-05-09 12:30:56 -07:00
2007-05-21 09:56:57 -07:00
2007-05-10 18:24:13 +02:00
2007-05-11 08:29:36 -07:00
2007-05-09 08:57:56 +02:00
2007-05-09 08:57:56 +02:00
2007-05-09 12:30:57 -07:00
2007-05-10 18:24:13 +02:00
2007-05-10 18:24:13 +02:00
2007-05-23 20:14:11 -07:00
2007-05-09 12:30:55 -07:00
2007-05-09 08:58:16 +02:00
2007-05-23 20:14:12 -07:00
2007-05-09 12:30:56 -07:00
2007-05-09 02:52:51 +02:00
2007-05-09 12:30:56 -07:00
2007-05-09 08:58:21 +02:00
2007-05-09 08:58:21 +02:00
2007-05-11 16:56:02 +02:00
2007-05-16 00:51:46 +02:00
2007-05-21 19:41:19 -04:00
2007-05-11 08:29:36 -07:00
2007-05-19 09:11:58 +02:00
2007-05-11 08:29:34 -07:00
2007-05-15 08:54:00 -07:00
2007-05-09 08:58:21 +02:00
2007-05-19 12:00:11 -07:00
2007-05-12 18:11:06 -07:00
2007-05-17 05:23:04 -07:00
2007-05-09 12:30:53 -07:00
2007-05-09 12:30:54 -07:00
2007-05-21 20:00:54 -04:00
2007-05-12 18:11:06 -07:00
2007-05-18 20:46:30 -07:00
2007-05-11 08:29:36 -07:00
2007-05-14 18:51:43 +02:00
2007-05-09 12:30:49 -07:00
2007-05-09 08:58:21 +02:00
2007-05-17 14:20:29 -07:00
2007-05-10 09:26:52 -07:00
2007-05-21 09:18:19 -07:00
2007-05-09 12:30:56 -07:00
2007-05-11 08:29:35 -07:00
2007-05-09 07:14:03 +02:00
2007-05-11 08:29:35 -07:00
2007-05-09 12:30:49 -07:00
2007-05-10 23:45:07 -07:00
2007-05-09 12:30:54 -07:00
2007-05-14 19:33:45 -04:00
2007-05-09 12:30:56 -07:00
2007-05-24 02:42:37 +02:00
2007-05-11 08:29:35 -07:00
2007-05-09 12:30:48 -07:00
2007-05-10 21:28:13 +10:00
2007-05-09 08:57:56 +02:00
2007-05-09 12:30:51 -07:00
2007-05-17 05:23:06 -07:00
2007-05-23 20:14:12 -07:00
2007-05-09 08:57:56 +02:00
2007-05-11 22:02:52 +01:00
2007-05-11 08:29:36 -07:00
2007-05-11 08:29:36 -07:00
2007-05-17 05:23:03 -07:00
2007-05-17 05:23:04 -07:00
2007-05-17 05:23:04 -07:00
2007-05-21 21:47:27 -07:00
2007-05-17 05:23:04 -07:00
2007-05-09 08:58:21 +02:00
2007-05-09 12:56:01 -07:00
2007-05-09 12:30:57 -07:00
2007-05-11 08:29:34 -07:00
2007-05-11 08:29:36 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 22:41:47 +02:00
2007-05-11 08:29:36 -07:00
2007-05-11 08:29:35 -07:00
2007-05-11 08:29:35 -07:00
2007-05-09 08:57:56 +02:00
2007-05-22 16:00:13 -03:00
2007-05-09 12:30:56 -07:00
2007-05-18 08:17:17 -07:00
2007-05-21 09:18:19 -07:00