feat(libkernel): export credential setters and supplementary groups #3893
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3893"
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 MarcZX10 on 2026-10-11T18:56:45Z.
What
Carries the ready implementation from issue #3862, preserving Mouad-Scriptz-0’s original commit author. Adds
setuid,setreuid,setgroups, andgetgroupsunder the existing guest-root identity model, with explicit errors or throws for credential changes the emulator does not model. The PR also keeps the existingseteuid/setegidregression checks and extends them with the new cases.Tested
Linux, GCC 12.2, Release, Ninja 1.11.1: built
guest_credentials_tests;ctest -R ^guest_credentials$ --output-on-failurepassed 1/1.tools/check_conventions.py --base upstream/mainandgit diff --check upstream/main...HEADpassed. The issue author’s catalog import audit is reported in #3862; the titles were not run.Checklist
main; no other open PR implements these functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T18:57:05Z.
Progress report (
a11c8f7→b6f96f8)📈 System libraries: 85.83% (+0.02%, +4 implemented functions)
✅ 4 implemented
getgroups_nid_postfixsetgroups_nid_postfixsetreuid_nid_postfixsetuid_nid_postfixImported from boykopovar/AnyPS5. Originally posted by Mouad-Scriptz-0 on 2026-10-11T22:09:33Z.
Thanks for carrying it. Linux results for the branch's commit (
d12b0620, the same code asbc5bfd0e): Fedora 44 (kernel 7.2.8, GCC 16.2.1, Ninja, Release,BUILD_TESTING=ON),guest_credentials,guest_truncateandguest_pthread_attrpass;tools/check_conventions.py --base origin/mainandgit diff --checkpass. The import audit from #3862 (catalog ZIPs checked against their sha256, SELF unwrapped,relinker --registry,tools/import_audit.pyagainst.prxbuilt frommainand from the branch): PPSA97358 XPSemu goes from 34 to 32 absent imports (setuid,setgroups), PPSA99420 PS5MC from 28 to 25 (setuid,setreuid,setgroups). The titles were not run.AI-assisted: yes (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-12T13:34:43Z.
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.
main)docs/dev/TechnicalDebt.mdL61-262