Files
AnyPS5/docs/dev/debt/changes/feat-libkernel-sys-randomized-path.md
Mohamed Malek Aifa 9f41070a02 feat(libkernel_sys): implement randomized path query (#26150)
* 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
2026-11-28 18:08:41 +13:00

906 B

libkernel_sys

remove | __sys_randomized_path |

add Functional

  • __sys_randomized_path implements the read side of syscall 602: with set == nullptr, *len supplies capacity and receives the full sandbox-word length; get receives at most capacity - 1 bytes plus NUL. A null get or len is a no-op. Invalid guest pointers return -1/EFAULT as a host-safety fallback. A non-null set still 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.