nuttx/arch/arm
Royyan Zahir 5f5991a0f2 arch/arm: redirect an M-profile thread to its signal action once
A signal action queued at syscall return pends PendSV for the running
thread, but the same SVC can switch to another thread first. PendSV then
saw that thread, the redirect was lost and the handler did not run until
a later PendSV landed on the target, which could happen while it was
already in arm_sigdeliver: the second redirect overwrote saved_regs, the
inner delivery cleared sigdeliver and the outer one branched to address
0. ostest sighand and signest hard faulted in a protected build.

The redirect is now checked against the thread being switched in, and a
thread already redirected is left alone until arm_sigdeliver restores
its context.

Signed-off-by: Royyan Zahir <royzah@gmail.com>
2026-10-09 15:08:33 -03:00
..
include arch/arm/rp23xx: Add suspend to RAM in the POWMAN P1.0 state. 2026-10-09 06:17:57 -03:00
src arch/arm: redirect an M-profile thread to its signal action once 2026-10-09 15:08:33 -03:00
CMakeLists.txt
Kconfig arch/arm/rp23xx: Add the PM standby and dormant states. 2026-10-09 06:17:57 -03:00