Re: [PATCH 2/4] linux-user: Map signal number in PR_GET_PDEATHSIG

2022-01-07 Thread Philippe Mathieu-Daudé
On 6/1/22 23:57, Richard Henderson wrote: Convert the host signal number to guest signal number before returning the value to the guest. Signed-off-by: Richard Henderson --- linux-user/syscall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Philippe Mathieu-Daudé

[PATCH 2/4] linux-user: Map signal number in PR_GET_PDEATHSIG

2022-01-06 Thread Richard Henderson
Convert the host signal number to guest signal number before returning the value to the guest. Signed-off-by: Richard Henderson --- linux-user/syscall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index e8f9e0643e..9eb2fb2bb2