mirror of
https://github.com/neokuze/ps5-rust.git
synced 2026-10-29 04:02:20 +01:00
- ps5-std-rt: faccessat over access, readlinkat over readlink, for AT_FDCWD or absolute paths; relative to another dir fd stays ENOSYS. AT_EACCESS tries eaccess (also ENOSYS on the PS5) and only falls back to access when real and effective ids match; payloads run as uid 1 / euid 0, so it stays ENOSYS there instead of answering for the wrong user. - build.rs: faccessat and readlinkat left out of the generated stubs. - err_probe: success and error cases for both, uid/gid info, symlink test reported as info when the filesystem has none. Tested on CFI-1215A, fw 13.60: 0 FAIL. Found: uid 1 euid 0; /data has no symlinks (EOPNOTSUPP); access and readlink exist, eaccess doesn't. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>