fix(libSceNet): silent stub for sceNetShowIfconfig #6285

Closed
mazen320 wants to merge 2 commits from upstream-pr/6285 into main
mazen320 commented 2026-10-15 08:59:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T08:59:36Z.


What

sceNetShowIfconfig no longer calls NotImplemented_nid_no_patch. It returns 0 with no ifconfig dump.

PPSA01530 and PPSA13356 import it with an unknown signature and fail to load without it. Debt moved into Silent stubs. New guest_net_show_ifconfig covers the return.

Tested

Windows 11. python tools/check_conventions.py --base upstream/main passed. Built the original libSceNet and test targets at this PR head in a separate CMake harness, using freshly built libc/kernel from source trees verified identical to those in #6286. ctest --output-on-failure -R ^guest_net_show_ifconfig$ passed on 2026-10-15. This is local targeted validation; upstream full builds remain skipped.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: PPSA01530 / PPSA13356 load (ShowIfconfig stop; pad unknown NID is #6283)
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4870773125 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6285). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T08:59:36Z. --- ### What `sceNetShowIfconfig` no longer calls `NotImplemented_nid_no_patch`. It returns 0 with no ifconfig dump. PPSA01530 and PPSA13356 import it with an unknown signature and fail to load without it. Debt moved into Silent stubs. New `guest_net_show_ifconfig` covers the return. ### Tested Windows 11. `python tools/check_conventions.py --base upstream/main` passed. Built the original libSceNet and test targets at this PR head in a separate CMake harness, using freshly built libc/kernel from source trees verified identical to those in #6286. `ctest --output-on-failure -R ^guest_net_show_ifconfig$` passed on 2026-10-15. This is local targeted validation; upstream full builds remain skipped. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: PPSA01530 / PPSA13356 load (ShowIfconfig stop; pad unknown NID is #6283) - [x] GPUs tested: n/a - [x] AI-assisted: yes
mazen320 commented 2026-10-15 08:59:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T08:59:50Z.


Overlap (#6283)

Bot may flag docs/dev/debt/libSceNet.md (PPSA01530/13356 unknown-imports bullet). Production change here is sceNetShowIfconfig returns 0. #6283 silent-stubs the co-listed pad NID — rebase debt wording if that PR lands first. Depends on: none.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6188397136 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6285#issuecomment-6188397136). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T08:59:50Z. --- ### Overlap (#6283) Bot may flag `docs/dev/debt/libSceNet.md` (PPSA01530/13356 unknown-imports bullet). Production change here is `sceNetShowIfconfig` returns 0. #6283 silent-stubs the co-listed pad NID — rebase debt wording if that PR lands first. Depends on: none.
github-actions[bot] commented 2026-10-15 09:00:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T09:00:24Z.


Progress report (0afa6a6 → 37a4dc2)

📈 System libraries: 88.74% (+0.03%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceNet sceNetShowIfconfig
⚪ 1 behaviourally empty (constant return or throw)
Library Name
libSceNet sceNetShowIfconfig
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6188407153 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6285#issuecomment-6188407153). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T09:00:24Z. --- <!-- progress-report --> ### Progress report (0afa6a6 → 37a4dc2) 📈 **System libraries**: 88.74% (+0.03%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceNet | `sceNetShowIfconfig` | </details> <details> <summary>⚪ 1 behaviourally empty (constant return or throw)</summary> | Library | Name | | - | - | | libSceNet | `sceNetShowIfconfig` | </details>
github-actions[bot] commented 2026-10-15 09:27:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T09:27:05Z.


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.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 5676 docs/dev/debt/libSceNet.md L5
PR 5928 docs/dev/debt/libSceNet.md L2, L5

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.

Pull request Shared files not compared
PR 6044 core/libs/prx/libSceNet/CMakeLists.txt
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6188884104 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6285#issuecomment-6188884104). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T09:27:05Z. --- <!-- pr-overlap --> 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**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 5676](https://www.github.com/boykopovar/AnyPS5/pull/5676) | `docs/dev/debt/libSceNet.md` [L5](https://github.com/boykopovar/AnyPS5/blob/940eba9a26ec363eef9a461b24e94576317a4955/docs/dev/debt/libSceNet.md#L5) | | | | [PR 5928](https://www.github.com/boykopovar/AnyPS5/pull/5928) | `docs/dev/debt/libSceNet.md` [L2](https://github.com/boykopovar/AnyPS5/blob/940eba9a26ec363eef9a461b24e94576317a4955/docs/dev/debt/libSceNet.md#L2), [L5](https://github.com/boykopovar/AnyPS5/blob/940eba9a26ec363eef9a461b24e94576317a4955/docs/dev/debt/libSceNet.md#L5) | | | 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. | Pull request | Shared files not compared | |---|---| | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/prx/libSceNet/CMakeLists.txt` |
mazen320 commented 2026-10-15 09:33:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T09:33:41Z.


Overlap

Bot flagged docs/dev/debt/libSceNet.md with #5676. This PR is Net sceNetShowIfconfig silent stub only. Depends on: none.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6188999837 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6285#issuecomment-6188999837). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T09:33:41Z. --- ### Overlap Bot flagged `docs/dev/debt/libSceNet.md` with #5676. This PR is Net `sceNetShowIfconfig` silent stub only. **Depends on: none.**
mazen320 commented 2026-10-15 15:35:03 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T15:35:03Z.


Agree with the silent-stub bar from #6274 / CONTRIBUTING: need UI-only (or safe-to-ignore / never-called) evidence, not only a load stop.

This PR only established that the title fails to load without the export. Restored throwing and closing until that evidence exists.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6195922850 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6285#issuecomment-6195922850). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T15:35:03Z. --- Agree with the silent-stub bar from #6274 / CONTRIBUTING: need UI-only (or safe-to-ignore / never-called) evidence, not only a load stop. This PR only established that the title fails to load without the export. Restored throwing and closing until that evidence exists.
mazen320 commented 2026-10-15 15:35:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T15:35:05Z.


Closing: silent stub withdrawn; export(s) throw again pending UI-only / never-called evidence.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6195923404 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6285#issuecomment-6195923404). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T15:35:05Z. --- Closing: silent stub withdrawn; export(s) throw again pending UI-only / never-called evidence.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6285
No description provided.