feat(libSceSsl): declare PS5 pending exports #8951

Merged
xdCloudy merged 3 commits from upstream-pr/8951 into main 2026-10-25 01:21:10 +00:00
xdCloudy commented 2026-10-21 07:03:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-21T07:03:30Z.


What

Adds one pending libSceSsl export from the research source list. The declaration calls NotImplemented_nid_no_patch; its signature and behavior are unverified, and it exists for import resolution only. The library technical-debt file records that uncertainty.

Tested

  • python -I tools/check_conventions.py --base upstream/main — passed.
  • git diff --check upstream/main...HEAD — passed.
  • tools/pr_overlap.py scanned locally available open PR heads. It matched this PR against itself because the branch is already open; ignoring that self-match, the only SSL shared-file warning was old-base PR #6039. I manually compared its diff: it rewrites the existing sceSslEnableVerifyOption debt paragraph, while this PR adds a separate sceSslSetServerName entry. No other export overlap was reported.
  • Product build jobs are skipped for this declaration-only change; no full build is claimed.

Checklist

  • Based on current main; no other open PR implements sceSslSetServerName
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical-debt documentation
  • The unimplemented path throws through NotImplemented_nid_no_patch; the unknown signature is documented
  • No investigation files or images added
  • New third-party code is a submodule built from source (not applicable)
  • Generic behavior, not specific to one title
  • Depends on: #6039 (shared SSL debt-file landing order; no export overlap)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4947729688 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8951). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-21T07:03:30Z. --- ### What Adds one pending `libSceSsl` export from the research source list. The declaration calls `NotImplemented_nid_no_patch`; its signature and behavior are unverified, and it exists for import resolution only. The library technical-debt file records that uncertainty. ### Tested - `python -I tools/check_conventions.py --base upstream/main` — passed. - `git diff --check upstream/main...HEAD` — passed. - `tools/pr_overlap.py` scanned locally available open PR heads. It matched this PR against itself because the branch is already open; ignoring that self-match, the only SSL shared-file warning was old-base PR #6039. I manually compared its diff: it rewrites the existing `sceSslEnableVerifyOption` debt paragraph, while this PR adds a separate `sceSslSetServerName` entry. No other export overlap was reported. - Product build jobs are skipped for this declaration-only change; no full build is claimed. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements `sceSslSetServerName` - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical-debt documentation - [x] The unimplemented path throws through `NotImplemented_nid_no_patch`; the unknown signature is documented - [x] No investigation files or images added - [x] New third-party code is a submodule built from source (not applicable) - [x] Generic behavior, not specific to one title - [x] Depends on: #6039 (shared SSL debt-file landing order; no export overlap) - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
oneandonlydean commented 2026-10-21 07:14:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-21T07:14:36Z.


@xdCloudy thanks. sceSslInit and sceSslTerm are already implemented on main as sceSslInit_nid_postfix (libSceSsl/Export.cpp:616) and sceSslTerm_nid_postfix (:627). A throwing stub under the plain name exports the same NID a second time and can shadow them, and titles call both. Please drop those two (and their debt lines) and keep sceSslSetServerName. The open #8541 also touches sceSslInit/sceSslTerm.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6310317597 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8951#issuecomment-6310317597). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-21T07:14:36Z. --- @xdCloudy thanks. `sceSslInit` and `sceSslTerm` are already implemented on `main` as `sceSslInit_nid_postfix` (`libSceSsl/Export.cpp:616`) and `sceSslTerm_nid_postfix` (`:627`). A throwing stub under the plain name exports the same NID a second time and can shadow them, and titles call both. Please drop those two (and their debt lines) and keep `sceSslSetServerName`. The open #8541 also touches `sceSslInit`/`sceSslTerm`.
xdCloudy commented 2026-10-21 07:18:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-21T07:18:29Z.


Removed sceSslInit and sceSslTerm plus their debt references, retaining only sceSslSetServerName. Local conventions and diff checks pass.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6310379674 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8951#issuecomment-6310379674). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-21T07:18:29Z. --- Removed sceSslInit and sceSslTerm plus their debt references, retaining only sceSslSetServerName. Local conventions and diff checks pass.
xdCloudy commented 2026-10-21 07:30:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-21T07:30:40Z.


I found a gap in my overlap checker: it compared export names literally and did not normalize _nid_postfix / _nid_disambigN aliases, which can resolve to the same NID as a plain name. I updated the checker to compare normalized names and checked this PR against current main and the available open PR diffs; no remaining normalized-name overlap turned up for this PR.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6310577605 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8951#issuecomment-6310577605). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-21T07:30:40Z. --- I found a gap in my overlap checker: it compared export names literally and did not normalize `_nid_postfix` / `_nid_disambigN` aliases, which can resolve to the same NID as a plain name. I updated the checker to compare normalized names and checked this PR against current `main` and the available open PR diffs; no remaining normalized-name overlap turned up for this PR.
xdCloudy commented 2026-10-21 07:41:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-21T07:41:55Z.


I manually compared the shared SSL changes. This PR retains only sceSslSetServerName; #8431's added exports do not include that name, and #6039 is a debt-document restructuring change. No duplicate export was found. The shared source/debt paths may need a rebase or combined hunk if either PR lands first.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6310760981 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8951#issuecomment-6310760981). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-21T07:41:55Z. --- I manually compared the shared SSL changes. This PR retains only `sceSslSetServerName`; #8431's added exports do not include that name, and #6039 is a debt-document restructuring change. No duplicate export was found. The shared source/debt paths may need a rebase or combined hunk if either PR lands first.
xdCloudy commented 2026-10-21 17:10:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-21T17:10:30Z.


Rebased this branch onto current upstream/main (d34da5d) and resolved the source conflict. The diff remains limited to sceSslSetServerName and its debt note; sceSslInit/sceSslTerm are not added. I manually checked the shared SSL changes in #8541, #9137, and #9173; none adds sceSslSetServerName. #6039 only restructures the debt document. The updated overlap check reports no duplicate export, though it still cannot compare the conflicting branches listed above. Local conventions pass and GitHub conventions, eligibility, labels, and report checks pass; build jobs were skipped for this declaration-only change.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6321922158 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8951#issuecomment-6321922158). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-21T17:10:30Z. --- Rebased this branch onto current upstream/main (d34da5d) and resolved the source conflict. The diff remains limited to sceSslSetServerName and its debt note; sceSslInit/sceSslTerm are not added. I manually checked the shared SSL changes in #8541, #9137, and #9173; none adds sceSslSetServerName. #6039 only restructures the debt document. The updated overlap check reports no duplicate export, though it still cannot compare the conflicting branches listed above. Local conventions pass and GitHub conventions, eligibility, labels, and report checks pass; build jobs were skipped for this declaration-only change.
xdCloudy commented 2026-10-22 02:17:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T02:17:21Z.


Update: I rebased this branch onto current main (8c26eac) and pushed head 39e9963. Conventions and git diff --check pass, git merge-tree is clean, and the full overlap scan found no other export collision. The only uncomparable SSL file is old-base #6039; I manually verified that it rewrites the existing sceSslEnableVerifyOption debt paragraph while this PR adds a separate sceSslSetServerName entry. The PR body records the shared-file landing order. GitHub now reports CLEAN, although the stale needs rebase label remains; GitHub rejected label removal because repository admin rights are required. Product build jobs are skipped for this declaration-only PR.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6331083375 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8951#issuecomment-6331083375). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T02:17:21Z. --- Update: I rebased this branch onto current main (`8c26eac`) and pushed head `39e9963`. Conventions and `git diff --check` pass, `git merge-tree` is clean, and the full overlap scan found no other export collision. The only uncomparable SSL file is old-base #6039; I manually verified that it rewrites the existing `sceSslEnableVerifyOption` debt paragraph while this PR adds a separate `sceSslSetServerName` entry. The PR body records the shared-file landing order. GitHub now reports CLEAN, although the stale `needs rebase` label remains; GitHub rejected label removal because repository admin rights are required. Product build jobs are skipped for this declaration-only PR.
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!8951
No description provided.