When returning from a Linux signal use the Linux sigframe to find the
register values to restore.
Remove the FreeBSD ucontext from the stack as it's now unneeded.
Sponsored by: Arm Ltd
Differential D42360
arm64: Use the Linux sigframe to restore registers andrew on Oct 25 2023, 10:35 AM. Authored by Tags None Referenced Files
Details When returning from a Linux signal use the Linux sigframe to find the Remove the FreeBSD ucontext from the stack as it's now unneeded. Sponsored by: Arm Ltd
Diff Detail
Event TimelineComment Actions Nice, that was in my plans, I was waiting when SVE to be finished. Thanks!
Comment Actions I don't know about the go test suite. I've only tested with my tool to read the ID registers from userspace https://github.com/zxombie/arm64id/. This changes the pc the signal handler returns to and sets x0 to indicate the ID register is unable to be read from userspace.
Comment Actions Please add PR: 270250 to the commit message, |