diff options
author | Roland McGrath <[email protected]> | 2008-03-08 11:41:22 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-03-08 11:54:00 -0800 |
commit | 6efcae460186c0c1c94afff58a92784e1fc0d10b (patch) | |
tree | da67b86b65e8dde1f52245e25b1889f87cc96b4e /net/unix/sysctl_net_unix.c | |
parent | 84c6f6046c5a2189160a8f0dca8b90427bf690ea (diff) |
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 <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions