AnyPS5/core/libs/prx/libkernel/File/src
MathiasDevelopes 7810f8464e feat(libkernel): open /dev/random and /dev/urandom for reading
Neither existed under the guest root, so opening them failed and titles
that then read from the descriptor crashed. Opening either for reading
now returns a descriptor whose reads, positioned reads and vector reads
fill the buffer from the host's random device, as
sceRandomGetRandomNumber does. Opening them for writing throws.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-10 09:12:55 +02:00
..
DirectoryDescriptor.cpp fix(libkernel): report undersized Windows directory buffers 2026-10-01 23:24:41 +02:00
FileLock.cpp fix(libkernel): give flock BSD semantics on Windows 2026-10-10 06:49:20 +02:00
NativeStat.cpp fix(libkernel): preserve Windows file timestamp precision 2026-10-10 01:51:56 +02:00
Open.cpp feat(libkernel): open /dev/random and /dev/urandom for reading 2026-10-10 09:12:55 +02:00
OpenFileLimit.cpp fix(libkernel): raise the open file soft limit on Linux 2026-10-08 17:38:48 +02:00
RandomDevice.cpp feat(libkernel): open /dev/random and /dev/urandom for reading 2026-10-10 09:12:55 +02:00
SharedMemory.cpp feat(libkernel): implement shm_open for anonymous objects 2026-10-09 22:05:57 -04:00
Stdio.cpp feat(libkernel): open /dev/random and /dev/urandom for reading 2026-10-10 09:12:55 +02:00
Terminal.cpp feat(libkernel): implement tcgetattr and tcsetattr 2026-10-09 23:17:12 +02:00