Jilles Tjoelker
b823fb59f1
sh: Fix race condition with signals and wait or set -T.
...
The change in r238888 was incomplete. It was still possible for a trapped
signal to arrive before the shell went to sleep (sigsuspend()) because a
check was missing or because the signal arrived before in_waitcmd was set.
On SMP, this bug sometimes caused the builtins/wait4.0 test to take 1 second
to execute; it then might or might not fail. On UP, the test almost always
failed.
2013-09-02 21:57:46 +00:00
..
2011-06-13 21:03:27 +00:00
2012-01-21 20:39:17 +00:00
2013-08-25 11:42:53 +00:00
2011-06-13 21:03:27 +00:00
2012-01-25 08:42:19 +00:00
2011-02-08 23:18:06 +00:00
2013-08-24 20:06:00 +00:00
2011-06-13 21:03:27 +00:00
2011-05-27 20:53:07 +00:00
2012-09-15 21:56:30 +00:00
2011-06-13 21:03:27 +00:00
2010-12-21 20:47:06 +00:00
2011-04-23 22:28:56 +00:00
2013-08-16 20:24:41 +00:00
2013-07-25 15:08:41 +00:00
2013-08-30 12:09:59 +00:00
2012-07-15 10:19:43 +00:00
2013-04-01 17:18:22 +00:00
2013-02-03 15:54:57 +00:00
2012-09-15 21:56:30 +00:00
2013-07-25 19:48:15 +00:00
2013-07-25 15:08:41 +00:00
2013-09-02 21:57:46 +00:00
2013-09-02 21:57:46 +00:00
2010-10-13 04:01:01 +00:00
2013-08-16 20:24:41 +00:00
2012-01-01 22:17:12 +00:00
2013-07-25 15:08:41 +00:00
2013-05-11 20:51:00 +00:00
2013-05-11 20:51:00 +00:00
2013-05-03 15:28:31 +00:00
2012-05-24 19:48:15 +00:00
2009-08-28 22:41:25 +00:00
2013-02-07 22:42:33 +00:00
2011-06-17 13:03:49 +00:00
2012-01-01 22:17:12 +00:00
2012-01-01 22:15:38 +00:00
2012-01-01 22:15:38 +00:00
2013-04-07 16:28:36 +00:00
2013-02-03 15:54:57 +00:00
2012-09-08 19:24:03 +00:00
2011-06-18 23:43:28 +00:00
2013-07-25 13:09:17 +00:00
2012-12-12 22:01:10 +00:00
2013-08-30 20:50:28 +00:00
2013-08-30 10:45:02 +00:00
2013-08-16 20:24:41 +00:00
2013-08-16 20:24:41 +00:00
2013-06-14 22:06:18 +00:00
2013-07-25 19:48:15 +00:00
2010-10-13 22:18:03 +00:00
2009-12-24 18:41:14 +00:00
2013-07-25 15:08:41 +00:00
2013-09-02 21:57:46 +00:00
2013-09-02 21:57:46 +00:00
2013-08-14 21:59:48 +00:00
2012-02-04 23:12:14 +00:00