feat(libSceNet): implement sceNetResolverAbort and sceNetResolverStar… #2557
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2557"
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 rozbh on 2026-10-10T05:30:08Z.
What
Implements two libSceNet exports that threw
NotImplemented.sceNetResolverStartNtoaMultipleRecords(rid, hostname, info, timeout, retry, flags)does the lookupsceNetResolverStartNtoaMultipleRecordsExdoes for flags 0; both now share one helper. Any flag throws, as Ex already did.sceNetResolverAbort(rid, flags): an unknown resolver id returnsEBADF. Flag 1 (NTOA preservation) or 2 (ATON preservation) makes the next lookup of that kind fail withEINTR, reported throughsceNetResolverGetError. Without them the call only validates the id. Other flag bits throw.Signatures and behaviour are from shadPS4 (
src/core/libraries/net/net.cpp,net_resolver.cpp), unverified on hardware and recorded in TechnicalDebt. Differences from shadPS4: unknown abort flag bits throw instead of being ignored, and lookup failures keep the singleRESOLVER_ENODNScode the other resolver calls here use.Behaviour change in an existing function:
sceNetResExnow checks the resolver id before its argumentsand returns
EINVALfor an empty hostname or one l shadPS4 does.Lookups are synchronous, so an abort never interruplverStartNtoa
andsceNetResolverStartAton` stillignore their flags; that is unchanged and left forTested
Linux (Manjaro, GCC), full build with
-DBUILD_TEST-guest_sce_netandguest_resolverpass.guestl arguments, empty and over-long hostnames, adestroyed resolver, both preservation flags, a doub by rejected calls, isolation between resolvers andthe throwing flag cases.
failed on my GPU; it does not link libSceNet. Not checked against a cleanmain`.tools/check_conventions.py --base origin/mainpChecklist
main; no other open PR imp.mdfiles or imagesach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T05:30:18Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T05:30:34Z.
Progress report (
b7bb268→048fa85)📈 System libraries: 85.73% (+0.06%, +2 implemented functions)
✅ 2 implemented
sceNetResolverAbortsceNetResolverStartNtoaMultipleRecordsPull request closed