NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/58149: aarch64: Cannot return from a signal handler if SP was misaligned when the signal arrived
The following reply was made to PR kern/58149; it has been noted by GNATS.
From: Nick Hudson <nick.hudson%gmx.co.uk@localhost>
To: gnats-bugs%netbsd.org@localhost, kern-bug-people%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, pho%cielonegro.org@localhost
Cc:
Subject: Re: kern/58149: aarch64: Cannot return from a signal handler if SP
was misaligned when the signal arrived
Date: Sun, 14 Apr 2024 13:58:32 +0100
On 14/04/2024 09:00, PHO wrote:
> The following reply was made to PR kern/58149; it has been noted by GNAT=
S.
>
> From: PHO <pho%cielonegro.org@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: kern/58149: aarch64: Cannot return from a signal handler if=
SP
> was misaligned when the signal arrived
> Date: Sun, 14 Apr 2024 16:58:44 +0900
>
> On 4/14/24 16:35, Nick Hudson wrote:
>
> > I'd prefer a compile time assert for the sizeof of ucontext_t... I=
n fact
> > it already exists in cpu_machdep.c
>
> Agreed. Updated my patch:
> https://github.com/NetBSD/src/commit/a8c6eeaee981dddb4b3d9cfca823df2ed=
857998d
>
I committed the kernel side patch.
It'd be good to make the test MI. For example, there is
tests/lib/csu/arch/*/h_initfini_align.S
Nick
Home |
Main Index |
Thread Index |
Old Index