[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 18/27] linux-user/nios2: Fixes for signal frame setup
From: |
Peter Maydell |
Subject: |
Re: [PATCH v3 18/27] linux-user/nios2: Fixes for signal frame setup |
Date: |
Mon, 27 Sep 2021 14:28:24 +0100 |
On Fri, 24 Sept 2021 at 17:59, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Do not confuse host and guest addresses. Lock and unlock
> the target_rt_sigframe structure in setup_rt_sigframe.
>
> Since rt_setup_ucontext always returns 0, drop the return
> value entirely. This eliminates the only write to the err
> variable in setup_rt_sigframe.
>
> Always copy the siginfo structure.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- Re: [PATCH v3 11/27] linux-user/x86_64: Raise SIGSEGV if SA_RESTORER not set, (continued)
- [PATCH v3 09/27] linux-user/hppa: Document non-use of setup_sigtramp, Richard Henderson, 2021/09/24
- [PATCH v3 10/27] linux-user/i386: Implement setup_sigtramp, Richard Henderson, 2021/09/24
- [PATCH v3 16/27] linux-user/nios2: Properly emulate EXCP_TRAP, Richard Henderson, 2021/09/24
- [PATCH v3 15/27] linux-user/mips: Implement setup_sigtramp, Richard Henderson, 2021/09/24
- [PATCH v3 12/27] linux-user/m68k: Implement setup_sigtramp, Richard Henderson, 2021/09/24
- [PATCH v3 14/27] linux-user/mips: Tidy install_sigtramp, Richard Henderson, 2021/09/24
- [PATCH v3 18/27] linux-user/nios2: Fixes for signal frame setup, Richard Henderson, 2021/09/24
- Re: [PATCH v3 18/27] linux-user/nios2: Fixes for signal frame setup,
Peter Maydell <=
- [PATCH v3 20/27] linux-user/ppc: Simplify encode_trampoline, Richard Henderson, 2021/09/24
- [PATCH v3 19/27] linux-user/openrisc: Implement setup_sigtramp, Richard Henderson, 2021/09/24
- [PATCH v3 21/27] linux-user/ppc: Implement setup_sigtramp, Richard Henderson, 2021/09/24
- [PATCH v3 27/27] linux-user: Remove default for TARGET_ARCH_HAS_SIGTRAMP_PAGE, Richard Henderson, 2021/09/24
- [PATCH v3 23/27] linux-user/s390x: Implement setup_sigtramp, Richard Henderson, 2021/09/24
- [PATCH v3 22/27] linux-user/riscv: Implement setup_sigtramp, Richard Henderson, 2021/09/24
- [PATCH v3 24/27] linux-user/sh4: Implement setup_sigtramp, Richard Henderson, 2021/09/24
- [PATCH v3 25/27] linux-user/sparc: Implement setup_sigtramp, Richard Henderson, 2021/09/24