feat(libc): implement getprogname #1595

Closed
MarcZX10 wants to merge 1 commit from upstream-pr/1595 into main
MarcZX10 commented 2026-10-08 14:01:42 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T14:01:42Z.


What

Implement getprogname for the PS5 process image name (eboot.bin), matching the existing __progname value exposed by libkernel. Add a registered guest test for the returned name.

Tested

Linux, GCC 12.2.0: guest_program_name passed; conventions check and git diff --check passed. The auxiliary test-registration script requires Ninja, which is unavailable in this environment.

Checklist

  • Based on current main; no open PR implements getprogname
  • One topic per PR
  • No comments or investigation files added
  • Generic PS5 process-name behavior
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4787962519 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1595). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T14:01:42Z. --- ### What Implement `getprogname` for the PS5 process image name (`eboot.bin`), matching the existing `__progname` value exposed by libkernel. Add a registered guest test for the returned name. ### Tested Linux, GCC 12.2.0: `guest_program_name` passed; conventions check and `git diff --check` passed. The auxiliary test-registration script requires Ninja, which is unavailable in this environment. ### Checklist - [x] Based on current `main`; no open PR implements `getprogname` - [x] One topic per PR - [x] No comments or investigation files added - [x] Generic PS5 process-name behavior - [x] Depends on: none - [x] AI-assisted: yes
MarcZX10 commented 2026-10-08 14:07:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T14:07:14Z.


Update: the five PR heads were rebased onto main at fe9beae0. Upstream has since advanced to 4d03ecf4; the latest merge only changes libSceVideoOut/src/VideoOutDriver.cpp. None of these PRs touches that file, and local merge-tree checks still show all five integrate cleanly.

I reran each focused Linux build/test, conventions, and diff checks on the current PR heads; all passed. The current Build, Conventions, and Progress report runs remain action_required with no jobs for all five heads. Could a maintainer approve them so upstream CI can run? The #1591 and #1592 tests are isolated from #1490’s GuestStrings.cpp changes. Windows CI remains unverified locally.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6061665238 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1595#issuecomment-6061665238). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T14:07:14Z. --- Update: the five PR heads were rebased onto `main` at `fe9beae0`. Upstream has since advanced to `4d03ecf4`; the latest merge only changes `libSceVideoOut/src/VideoOutDriver.cpp`. None of these PRs touches that file, and local merge-tree checks still show all five integrate cleanly. I reran each focused Linux build/test, conventions, and diff checks on the current PR heads; all passed. The current Build, Conventions, and Progress report runs remain `action_required` with no jobs for all five heads. Could a maintainer approve them so upstream CI can run? The #1591 and #1592 tests are isolated from #1490’s `GuestStrings.cpp` changes. Windows CI remains unverified locally.
MarcZX10 commented 2026-10-08 19:27:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T19:27:50Z.


Closing for now based on the maintainer’s current evidence bar on the adjacent import-audit PRs: #1578 lists this export, but no title is shown calling it on current main. Reopen when a title stops here during a real run, with the log line.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6067452988 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1595#issuecomment-6067452988). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-08T19:27:50Z. --- Closing for now based on the maintainer’s current evidence bar on the adjacent import-audit PRs: #1578 lists this export, but no title is shown calling it on current main. Reopen when a title stops here during a real run, with the log line.

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!1595
No description provided.