freebsd-nq/sys/amd64/ia32
Konstantin Belousov b1e2f063ae amd64 sendsig: fix context corruption
Drop fpstate only after copying out xfpustate from the thread usermode
save area. Otherwise a context switch between get_fpcontext(), which now
returns the pointer directly into user save area, and copyout, would
cause reinit of the save area, loosing user registers.

Reported, reviewed, and tested by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Differential revision:	https://reviews.freebsd.org/D32159
2021-09-27 20:12:46 +03:00
..
ia32_exception.S x86: remove gcov kernel support 2021-04-02 15:41:51 +03:00
ia32_misc.c Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
ia32_reg.c amd64: centralize definitions of CS_SECURE and EFL_SECURE 2021-09-21 20:20:14 +03:00
ia32_signal.c amd64 sendsig: fix context corruption 2021-09-27 20:12:46 +03:00
ia32_sigtramp.S Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
ia32_syscall.c amd64: Add MD bits for KMSAN 2021-08-10 21:27:53 -04:00