Roland McGrath 6efcae4601 Fix waitid si_code regression
In commit ee7c82da830ea860b1f9274f1f0cdf99f206e7c2 ("wait_task_stopped:
simplify and fix races with SIGCONT/SIGKILL/untrace"), the magic (short)
cast when storing si_code was lost in wait_task_stopped.  This leaks the
in-kernel CLD_* values that do not match what userland expects.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-03-08 11:54:00 -08:00
..
2008-03-04 07:59:54 -08:00
2008-01-07 14:55:37 -08:00
2008-02-14 21:13:33 -08:00
2008-03-01 07:16:06 -05:00
2007-10-21 02:37:45 -04:00
2008-02-14 21:13:33 -08:00
2008-03-05 17:53:33 -08:00
2007-10-18 14:37:24 -07:00
2008-03-08 11:54:00 -08:00
2008-02-14 21:13:33 -08:00
2008-01-25 21:08:29 +01:00
2007-07-16 09:05:50 -07:00
2008-02-14 21:13:32 -08:00
2008-01-25 21:08:34 +01:00
2008-02-08 09:22:39 -08:00
2008-02-08 09:22:31 -08:00
2008-02-08 09:22:31 -08:00
2008-02-26 07:42:37 -08:00
2008-01-25 21:08:24 +01:00
2008-02-13 16:21:18 -08:00
2008-01-25 21:08:24 +01:00
2008-02-06 10:41:07 -08:00
2008-03-07 16:42:59 +01:00
2007-07-16 09:05:50 -07:00
2008-03-04 07:59:54 -08:00
2008-01-30 13:31:20 +01:00
2008-02-06 10:41:02 -08:00
2008-02-06 10:41:08 -08:00
2008-02-05 09:44:07 -08:00
2008-02-08 09:22:29 -08:00
2008-02-08 09:22:39 -08:00
2008-02-08 09:22:31 -08:00
2008-02-08 09:22:31 -08:00