diff options
| author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2026-09-23 09:29:10 +0000 |
|---|---|---|
| committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2026-11-21 17:39:43 +0000 |
| commit | 6a83ecfe812ea97f06b3d3640edb41c7dfa8702e (patch) | |
| tree | 8b4c86cbf8e1a99e63174add1d66fe4b00fccff3 /sys/dev/uart/uart_dev_mtk.c | |
| parent | 6dc19a71f70c99b36e4384aff75b3d71033e71c5 (diff) | |
set_mcontext32() restores the floating point registers from the context,
then freebsd32_sigreturn() called save_fpu(), which writes the hardware
registers, the ones the signal handler left behind, back into the PCB.
The process resumed with the handler's registers instead of its own.
sys_sigreturn() has no such call; drop it here too.
A 32-bit program that loads f14, takes a signal whose handler loads
another value and reads f14 back got the handler's value on a
COMPAT_FREEBSD32 kernel; it gets its own now, like the 64-bit build.
Reviewed by: jhibbits
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D61792
Diffstat (limited to 'sys/dev/uart/uart_dev_mtk.c')
0 files changed, 0 insertions, 0 deletions
