mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 08:33:12 -05:00
In a payload process on a PS5 (firmware 12.70), I386_GET_FSBASE (7) and I386_GET_GSBASE (9) wrote 4 bytes, the low 32 bits of the FS and GS bases, and failed with EFAULT for a null argument; both threw here. On Linux x86-64 hosts they now do the same. The nine operation numbers tried that FreeBSD 11's amd64 sysarch has no case for (2, 5, 6, 12, 127, 133, 134, 1000 and -1), each with a null argument, failed with EINVAL there, as its default case does, and threw here. Every such number now returns EINVAL on every host. Threads made with pthread_create and scePthreadCreate started with their creator's GS base there; the test now checks that a guest thread does so on Linux. The sysarch debt entry records these measurements and what AMD64_GET_XFPUSTATE and I386_GET_XFPUSTATE returned there; both still throw here.