Richard Henderson f0907ff4ca linux-user: Fix waitid return of siginfo_t and rusage
The copy back to siginfo_t should be conditional only on arg3,
not the specific values that might have been written.
The copy back to rusage was missing entirely.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2262
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Alex Fan <alex.fan.q@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2024-04-09 07:43:11 -10:00
..
2023-10-30 13:41:55 -07:00
2023-10-30 13:41:56 -07:00
2023-10-30 13:41:55 -07:00
2024-03-13 11:43:52 +00:00
2023-10-30 13:41:55 -07:00
2024-03-26 18:20:36 -10:00
2024-03-13 11:43:52 +00:00
2024-03-26 18:20:36 -10:00
2024-03-01 08:05:59 -10:00