mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-04 16:40:32 +00:00
* feat(libkernel_sys): implement randomized path query * fix(libkernel_sys): validate randomized path output range * test(libkernel_sys): cover randomized path page-boundary fault * fix(libkernel_sys): open guest write range before validation * fix(debt): retarget twin-stub fragment
906 B
906 B
libkernel_sys
remove | __sys_randomized_path |
add Functional
__sys_randomized_pathimplements the read side of syscall 602: withset == nullptr,*lensupplies capacity and receives the full sandbox-word length;getreceives at mostcapacity - 1bytes plus NUL. A nullgetorlenis a no-op. Invalid guest pointers return-1/EFAULTas a host-safety fallback. A non-nullsetstill throws. The ABI follows Obliteration; decanter independently records the getter call. The fixed sandbox word is not per-process random. Setter, fault precedence and console/title behavior remain unmeasured.