From: Roland McGrath Date: Sat, 8 Mar 2008 19:41:22 +0000 (-0800) Subject: Fix waitid si_code regression X-Git-Tag: v2.6.25-rc5~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6efcae460186c0c1c94afff58a92784e1fc0d10b;p=pandora-kernel.git 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 Cc: Oleg Nesterov Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed