On 3/25/22 06:16, Peter Maydell wrote:
+return -QEMU_ESIGRETURN;
badframe:
unlock_user_struct(frame, frame_addr, 0);
Don't you also need to return -QEMU_ESIGRETURN in the badframe
error-handling case? The other guest architecture implementations
of do_sigreturn seem to do that.
On Sun, 20 Mar 2022 at 16:06, Richard Henderson
wrote:
>
> Drop the kernel-specific "pr2" code structure and use
> the qemu-specific error return value.
>
> Signed-off-by: Richard Henderson
> ---
> linux-user/nios2/signal.c | 10 +++---
> 1 file changed, 3 insertions(+), 7 deletions(-)
>
>
Drop the kernel-specific "pr2" code structure and use
the qemu-specific error return value.
Signed-off-by: Richard Henderson
---
linux-user/nios2/signal.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/linux-user/nios2/signal.c b/linux-user/nios2/signal.c
index