Files
AnyPS5/docs/dev/debt/changes/docs-libkernel-sys-devmode-kq-console-1160.md

1.4 KiB

libkernel_sys

change [__sys_is_development_mode]

  • __sys_is_development_mode (libkernel_sys) fixes development mode to disabled (0); development-console state and features are not modelled. On a PS5 payload process (firmware 11.60) it returned 0 in 100 calls and with three bogus arguments; nonzero mode bits and titles are unmeasured. The parameterless uint64_t declaration follows PS5SDK, not a verified console ABI. kstuff-lite maps the export name to the query; ps5-hen manufactures 0xc001 in a hook and supplies no measurement of the original result.

change [sceKernelGetKqueueFromEqueue]

  • sceKernelGetKqueueFromEqueue (libkernel_sys) - the descriptor is written with GuestCopyOut; an unwritable kq returns EINVAL like a null one and preserves errno. Firmware 13.42 writes through the pointer, so this is a host-safety fallback: on a PS5 payload process (firmware 11.60) a null kq returned 0x80020016 with errno untouched and the pointer 0x1 raised SIGSEGV; titles not measured.