On Fri, May 15, 2020 at 7:34 PM Peter Maydell wrote:
>
> On Thu, 7 May 2020 at 21:25, Amanieu d'Antras wrote:
> >
> > This fixes signal handlers running with the wrong endianness if the
> > interrupted code used SETEND to dynamically switch endianness.
> >
This fixes signal handlers running with the wrong endianness if the
interrupted code used SETEND to dynamically switch endianness.
Signed-off-by: Amanieu d'Antras
---
linux-user/arm/signal.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/linux-user/arm/signa
This fixes signal handlers running with the wrong endianness if the
interrupted code used SETEND to dynamically switch endianness.
Signed-off-by: Amanieu d'Antras
---
linux-user/arm/signal.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/linux-user/arm/signa
These now match the field layout used by the kernel.
Signed-off-by: Amanieu d'Antras
---
linux-user/riscv/signal.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/linux-user/riscv/signal.c b/linux-user/riscv/signal.c
index 83ecc6f799..2b15e32a7b 100644
--- a/linux
On AArch64 the si_addr field of siginfo_t is truncated to 32 bits
because the fault address passes through an uint32_t variable. This
is fixed by changing the variable to uint64_t.
Signed-off-by: Amanieu d'Antras
---
linux-user/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Public bug reported:
When running linux-user targetting AArch64, validate_guest_space() in
elfload.c reserves space in the guest address space for the ARM
commpage. Since there is no commpage on AArch64, this function should be
disable on that target.
** Affects: qemu
Importance: Undecided