fix(libSceNet): silent stub for sceNetShowNetstat #6286
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6286"
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 mazen320 on 2026-10-15T09:00:51Z.
What
sceNetShowNetstatno longer callsNotImplemented_nid_no_patch. It returns 0 with no netstat dump.PPSA11386 imports it with an unknown signature. Debt moved into Silent stubs. New
guest_net_show_netstatcovers the return.Silent stub evidence (CONTRIBUTING)
A silent stub is allowed only when it unblocks a title and only affects the UI (or is otherwise safe to ignore). Load-stop alone is not enough (see #6274).
Show*diagnostic dump; the stub produces no host netstat output and does not change sockets or routingThis is the same class of exception as an unused import: returning 0 does not skip measured net behaviour on the observed path. If reviewers want a stricter “dialog/UI library only” reading, this PR can be withdrawn.
Tested
Windows 11.
python tools/check_conventions.py --base upstream/mainpassed. Built the original libc, libkernel, libSceNet and test targets from this PR head in a separate CMake harness.ctest --output-on-failure -R ^guest_net_show_netstat$passed on 2026-10-15. This is local targeted validation; upstream full builds remain skipped.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T09:01:05Z.
Overlap (#6285)
Bot may flag
docs/dev/debt/libSceNet.md/CMakeLists.txt(Silent stubs section / guest_net_* tests). Production change here issceNetShowNetstatonly. #6285 issceNetShowIfconfig— rebase debt/CMake hunk if that PR lands first. Depends on: none.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T09:01:35Z.
Progress report (
0afa6a6→b162855)📈 System libraries: 88.74% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceNetShowNetstat⚪ 1 behaviourally empty (constant return or throw)
sceNetShowNetstatImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T09:27:06Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/prx/libSceNet/CMakeLists.txtcore/libs/prx/libSceNet/Export.cppdocs/dev/debt/libSceNet.mdcore/libs/prx/libSceNet/CMakeLists.txtcore/libs/prx/libSceNet/Export.cppcore/libs/prx/libSceNet/CMakeLists.txtcore/libs/prx/libSceNet/Export.cppcore/libs/prx/libSceNet/Export.cppcore/libs/prx/libSceNet/Export.cppdocs/dev/debt/libSceNet.mdcore/libs/prx/libSceNet/Export.cppdocs/dev/debt/libSceNet.mdcore/libs/prx/libSceNet/Export.cppdocs/dev/debt/libSceNet.mdcore/libs/prx/libSceNet/Export.cppdocs/dev/debt/libSceNet.mdImported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T09:33:42Z.
Overlap
Bot flagged
docs/dev/debt/libSceNet.mdwith #5928. This PR is NetsceNetShowNetstatsilent stub only. Depends on: none.Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T15:36:47Z.
Silent-stub evidence (re #6274 bar)
CONTRIBUTING allows a silent stub only when it unblocks a title and only affects the UI (or is otherwise safe to ignore).
For
sceNetShowNetstat:Show*diagnostic dump (no host netstat output), not Acm/audio or FlipMaster-style runtime control.Happy to withdraw this too if reviewers want a stricter “must be dialog/UI library” reading.
Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-17T08:34:30Z.
Closing. sceNetShowNetstat already returns 0 on main, and guest_sce_net already checks that return. That landed in #4785. Rebasing this branch only adds a second test of the same call.
Pull request closed