mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-31 12:35:51 +00:00
sigreturn applies FreeBSD 11's amd64 sys_sigreturn checks: - EFAULT for a null context; - EINVAL for unknown mc_flags, and for rflags bits outside PSL_USERCHANGE that differ from the current flags; - set_fpcontext's FPU format and ownership cases. It then restores the context through the path setcontext uses, which now lives in RestoreContext. A non-user %cs and an extended FPU state still throw.