[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 05/26] linux-user/arm: Implement setup_sigtramp
From: |
Peter Maydell |
Subject: |
Re: [PATCH v5 05/26] linux-user/arm: Implement setup_sigtramp |
Date: |
Wed, 29 Sep 2021 14:45:25 +0100 |
On Wed, 29 Sept 2021 at 14:14, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Mirror what the kernel does in arch/arm/kernel/signal.h,
> using the old sigframe struct in the rt sigframe struct.
>
> Update the trampoline code to match the kernel: this uses
> sp-relative accesses rather than pc-relative.
>
> Copy the code into frame->retcode from the trampoline page.
> This minimises the different cases wrt arm vs thumb vs fdpic.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- [PATCH v5 00/26] linux-user: Move signal trampolines to new page, Richard Henderson, 2021/09/29
- [PATCH v5 01/26] linux-user: Add infrastructure for a signal trampoline page, Richard Henderson, 2021/09/29
- [PATCH v5 02/26] linux-user/aarch64: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 03/26] linux-user/arm: Drop v1 signal frames, Richard Henderson, 2021/09/29
- [PATCH v5 04/26] linux-user/arm: Drop "_v2" from symbols in signal.c, Richard Henderson, 2021/09/29
- [PATCH v5 06/26] linux-user/alpha: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 05/26] linux-user/arm: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- Re: [PATCH v5 05/26] linux-user/arm: Implement setup_sigtramp,
Peter Maydell <=
- [PATCH v5 07/26] linux-user/cris: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 08/26] linux-user/hexagon: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 09/26] linux-user/hppa: Document non-use of setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 10/26] linux-user/i386: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 11/26] linux-user/x86_64: Raise SIGSEGV if SA_RESTORER not set, Richard Henderson, 2021/09/29
- [PATCH v5 13/26] linux-user/microblaze: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 14/26] linux-user/mips: Tidy install_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 12/26] linux-user/m68k: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 15/26] linux-user/mips: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 18/26] linux-user/ppc: Simplify encode_trampoline, Richard Henderson, 2021/09/29