Re: [PATCH] linux-user/riscv: Disable unsupported SA_RESTORER

2025-02-25 Thread Thomas Weißschuh
Hi Alistair, On 2025-02-24 14:10:19+1000, Alistair Francis wrote: > On Mon, Feb 3, 2025 at 8:58 AM Thomas Weißschuh wrote: > > > > Linux on riscv does not support SA_RESTORER. > > Currently QEMU thinks there is a field 'sa_restorer' in the middle of > > 'struct sigaction' which does not actually

Re: [PATCH] linux-user/riscv: Disable unsupported SA_RESTORER

2025-02-23 Thread Alistair Francis
On Mon, Feb 3, 2025 at 8:58 AM Thomas Weißschuh wrote: > > Linux on riscv does not support SA_RESTORER. > Currently QEMU thinks there is a field 'sa_restorer' in the middle of > 'struct sigaction' which does not actually exist. > This leads to corrupted data and out-of-bounds accesses. > > Signed-

Re: [PATCH] linux-user/riscv: Disable unsupported SA_RESTORER

2025-02-23 Thread Alistair Francis
On Mon, Feb 3, 2025 at 8:58 AM Thomas Weißschuh wrote: > > Linux on riscv does not support SA_RESTORER. > Currently QEMU thinks there is a field 'sa_restorer' in the middle of > 'struct sigaction' which does not actually exist. > This leads to corrupted data and out-of-bounds accesses. > > Signed-

[PATCH] linux-user/riscv: Disable unsupported SA_RESTORER

2025-02-02 Thread Thomas Weißschuh
Linux on riscv does not support SA_RESTORER. Currently QEMU thinks there is a field 'sa_restorer' in the middle of 'struct sigaction' which does not actually exist. This leads to corrupted data and out-of-bounds accesses. Signed-off-by: Thomas Weißschuh --- linux-user/riscv/target_signal.h | 1 +