fix(libSceSystemService): declare the PsmKit local process exports #6939
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6939"
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 milescoviello on 2026-10-16T20:20:24Z.
What
Forever Launcher (PPSA99030, bizkut/ps5-forever, catalog 01.000.006) imports
sceSystemServiceAddLocalProcessForPsmKit(cltshBrDLC0) andsceSystemServiceKillLocalProcessForPsmKit(7cTc7seJLfQ) from libSceSystemService. Neither is exported. Onmainwith #6915 (physhm_open,physhm_unlink) and #6028 (sysarch) merged, the title still stops at load:On that stack,
nmlists three imports that no library exports: these two andK1A7IJp5xYc(sceKeyboardSetProcessPrivilege), which #6787 adds.The launcher uses these calls to start Wine as a local process and to stop it (
ps5/probes/psmkit-wine/runtime-parent.c). AnyPS5 runs one process and starts no other, so both throw (NotImplemented_nid_no_patch) without reading their arguments, assceSystemServiceLaunchAppdoes. The parameters follow the title's own firmware 5.50 probes.ps5/probes/localproc/psmkit-parent.chas a path, a null-terminated argv and a 0x90-byte parameter block, and the kill takes theint32_thandle the add returns (ps5/probes/psmkit-wine/runtime-parent.c). The console's results are unknown, and the entry under Unknown function info indocs/dev/debt/libSceSystemService.mdsays so.Tested
Ubuntu 24.04, GCC 13.3, Release.
guest_system_service: both calls throw, including with null arguments, and the parameter block is left untouched. Passes 3 of 3. Onmainthe test does not link, because both exports are missing. Both SystemService tests pass.main1b1f8483cwith #6915, #6028, #6787 and this PR merged: in 2 of 2 runs the title loads and reaches its next stop,sysctl_nid_postfix: unsupported MIB 1.14.32.3(kern.proc.vmmap), which this PR does not cover. With only #6915 and #6028 merged, it stops at load on7cTc7seJLfQ(above).Not checked: Windows, macOS.
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)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T20:21:06Z.
Progress report (
3e83446→f69e6c0)📉 System libraries: 89.6% (-0.05%, +2 declared functions)
🆕 2 declared as stubs
sceSystemServiceAddLocalProcessForPsmKitsceSystemServiceKillLocalProcessForPsmKitImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T20:29:38Z.
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/tests/GuestSystemService.cppcore/libs/prx/libSceSystemService/Export.cppImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T14:05:57Z.
Checked: both exports throw
NotImplemented_nid_no_patchwithout reading their arguments, likesceSystemServiceLaunchApp; the test pins the throw (normal and null args, parameter block untouched) and cannot link without the exports; the Unknown function info entry records the unverified signatures; merged.