fix(libkernel): answer select on non-socket descriptors #3455
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3455"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by YossiYad on 2026-10-11T10:56:41Z.
What
Carries the three commits of
Silverash-i8/AnyPS5-fork:fix/select-non-socket-descriptors(author Abdulrahman Elkordy, issue #2811) unchanged apart from a clean rebase onto currentmain:/dev/randomand/dev/urandomdescriptors are reported readable and writable inselect, as FreeBSD reports a seeded random device.Titles behind it, from #2811: Minecraft Dungeons (PPSA16064) stopped on
select on descriptor 0and reaches the menu with this change (MisterbALLIN's run); RIDE 4 (PPSA01599) stopped on the same line after OpenSSL opened/dev/urandomand gets past it (alfalfa-star's run). The author is under the impression the intake limit stops them from opening this themselves, so I am carrying it with the commits as they are.Closes #2811.
Tested
Linux (Fedora, GCC 16.2.1, Ninja, Release,
-DBUILD_TESTING=ON), based on currentmain03a84d02:ctest: 826 of 827 pass. The one failure,agc_driver_pixel_interlock, is a GPU fragment-shader-interlock race test unrelated to this change (it touches onlySocket.cpp); it is flaky on this RADV driver and passes on rerun (2 of 3). Allguest_,kernelandnettests pass..tools/check_conventions.py --base upstream/mainandgit diff --checkpass.guest_sce_netwith the new random-device and standard-descriptor cases passing on Windows 11, WinLibs GCC 15.2.0 r7. No title was run on this machine.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T10:57:03Z.
Progress report (
9a9bd3f→abed1c4)📈 System libraries: 85.77% (+0.03%, +1 implemented functions)
✅ 1 implemented
select_nid_postfixImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T11:00:44Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/prx/libkernel/Socket/src/Socket.cppL61, L67-68, L79-86, L88-106Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T11:49:03Z.
Checked the build and
guest_sce_neton Linux (passes with the change, fails without it), TechnicalDebt entry, and the PR template; merging.