[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH for-9.0] linux-user: Fix waitid return of siginfo_t and rusag
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH for-9.0] linux-user: Fix waitid return of siginfo_t and rusage |
Date: |
Tue, 9 Apr 2024 17:35:25 +0200 |
User-agent: |
Mozilla Thunderbird |
On 6/4/24 00:00, Richard Henderson wrote:
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.
Signed-off-by: Alex Fan <alex.fan.q@gmail.com>
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>
---
linux-user/syscall.c | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)