Files
AnyPS5/core/libs/prx/libkernel/File
Himansh Raj 559568f8d8 fix(libkernel): guard getdirentries guest outputs on macOS
The macOS sceKernelGetdirentries wrote *basep and the entry records into buf
without entering GuestArena::HostWrite, so the write-watch host-write path
never saw those writes. It now opens HostWrite guards for buf over nbytes and
for basep before it moves the descriptor offset, and holds them through every
write, as the Linux path does. It also rejects a non-directory with EINVAL
before the guards, matching Linux.
2026-10-31 14:32:53 +05:30
..