feat(libkernel): implement getlogin_r using the host account name #3606

Merged
Lorkydey merged 2 commits from upstream-pr/3606 into main 2026-10-12 07:01:56 +00:00
Lorkydey commented 2026-10-11 14:10:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Lorkydey on 2026-10-11T14:10:01Z.


What

VLC (PPSA85300) and PShare (PPSA99773) stop on main a11c8f7f with FAIL: unresolved ELF import 78FiHequa9U (getlogin_r) from libkernel.prx. babyhuey's VLC comparison and PShare comparison confirm that the original PR gets both titles past this import on Windows and Linux. PS5MC also imports it, but was only inspected, not launched.

Implement the signed 32-bit buffer-length ABI from the PS5 payload SDK. The buffer must hold the complete name and its NUL: short or nonpositive lengths return guest ERANGE (34), null output with a positive length returns EFAULT (14), and returned errors preserve errno and the caller's buffer. The buffer contract follows FreeBSD getlogin_r.

In response to review, the guest receives the host effective account name regardless of login-session availability: GetUserNameW converted to UTF-8 on Windows, and getpwuid_r(geteuid()) on POSIX. POSIX no longer calls host getlogin_r, so starting without a login session does not turn the result into ENXIO or ENOENT. There is no environment-variable lookup, replacement username or retry. Account lookup/encoding failures and missing account records throw; the POSIX record buffer is bounded at 16 KiB and insufficient storage also throws.

TechnicalDebt records this host-account policy and that the actual console login name and session semantics remain unknown. Windows account lookup follows GetUserNameW. Calls use independent storage.

Tested

Rebased onto main bca7a29d, which includes the Windows HostPoll build fix from #4021. Tested PR head: f88be06a. The two getlogin commits are unchanged by the rebase; Socket.cpp is identical to the base.

  • Windows 11 Pro 26100, WinLibs GCC 15.2.0 r7 (UCRT POSIX SEH), Ninja, Release, BUILD_TESTING=ON, ANYPS5_ENABLE_SPIRV_TOOLS=OFF: the full default build and the libs target pass (cmake --build build --parallel 6, then cmake --build build --target libs --parallel 6). The previously reported HostPoll error no longer blocks this revision.
  • Windows runtime tests linked to the actual project libraries: all nine passed five consecutive runs each (45 successful executions): guest_getlogin, guest_process_arguments, guest_parent_process, guest_errors, guest_sce_net, guest_poll, guest_socket_pair, guest_socket_read_write and guest_socket_events. Command: ctest --test-dir build --output-on-failure --no-tests=error --repeat until-fail:5 --parallel 1 --timeout 30 -R '^guest_(getlogin|process_arguments|parent_process|errors|sce_net|poll|socket_pair|socket_read_write|socket_events)$'.
  • guest_getlogin covers the native account name, exact-fit and short buffers, NUL termination, canaries, unchanged short-buffer output, invalid lengths, null output, preserved errno and concurrent readers. The local Windows account name is ASCII; non-ASCII account names were not exercised. guest_sce_net also exercises select, including immediate/timed waits and invalid inputs, to check the integration with #4021.
  • Ubuntu 24.04, GCC 13.3, Release: configured the full project and built the actual libkernel/libc libraries and focused test targets on the same rebased source. All five CTest tests passed five consecutive runs each: guest_getlogin, guest_getlogin_no_session, guest_process_arguments, guest_parent_process and guest_errors. Linux CI, including the failing-before/passing-after check. The CI-only workflow is on a separate fork branch and is not part of this PR.
  • The new Linux guest_getlogin_no_session test links the actual Login.cpp with a controlled host getlogin_r returning ENXIO, ENOENT, or a different session name. All three must yield the effective account name. The previous implementation fails this test with guest result 6; the updated implementation passes. The normal guest_getlogin test now requires successful account lookup and no longer exits successfully without testing the buffer and concurrency cases when no session exists.
  • Conventions, test registration and whitespace checks pass.

The full CTest suite was not run. Earlier independent title runs above used the original 187fd853 implementation; titles were not rerun for this revision. No console-hardware comparison is claimed.

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; no silent stubs added
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source (none added)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes (Codex)
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4819662460 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3606). Originally posted by [Lorkydey](https://github.com/Lorkydey) on 2026-10-11T14:10:01Z. --- ### What VLC (PPSA85300) and PShare (PPSA99773) stop on `main` `a11c8f7f` with `FAIL: unresolved ELF import 78FiHequa9U (getlogin_r) from libkernel.prx`. babyhuey's [VLC comparison](https://github.com/boykopovar/AnyPS5/pull/3606#issuecomment-6110212906) and [PShare comparison](https://github.com/boykopovar/AnyPS5/pull/3606#issuecomment-6111784938) confirm that the original PR gets both titles past this import on Windows and Linux. PS5MC also imports it, but was only inspected, not launched. Implement the signed 32-bit buffer-length ABI from the [PS5 payload SDK](https://github.com/ps5-payload-dev/sdk/blob/master/include/freebsd/unistd.h). The buffer must hold the complete name and its NUL: short or nonpositive lengths return guest `ERANGE` (34), null output with a positive length returns `EFAULT` (14), and returned errors preserve errno and the caller's buffer. The buffer contract follows [FreeBSD getlogin_r](https://github.com/freebsd/freebsd-src/blob/releng/9.2/lib/libc/gen/getlogin.c#L79-L96). In response to [review](https://github.com/boykopovar/AnyPS5/pull/3606#issuecomment-6114990891), the guest receives the host effective account name regardless of login-session availability: `GetUserNameW` converted to UTF-8 on Windows, and `getpwuid_r(geteuid())` on POSIX. POSIX no longer calls host `getlogin_r`, so starting without a login session does not turn the result into `ENXIO` or `ENOENT`. There is no environment-variable lookup, replacement username or retry. Account lookup/encoding failures and missing account records throw; the POSIX record buffer is bounded at 16 KiB and insufficient storage also throws. TechnicalDebt records this host-account policy and that the actual console login name and session semantics remain unknown. Windows account lookup follows [GetUserNameW](https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getusernamew). Calls use independent storage. ### Tested Rebased onto `main` `bca7a29d`, which includes the Windows `HostPoll` build fix from #4021. Tested PR head: `f88be06a`. The two getlogin commits are unchanged by the rebase; `Socket.cpp` is identical to the base. - Windows 11 Pro 26100, WinLibs GCC 15.2.0 r7 (UCRT POSIX SEH), Ninja, Release, `BUILD_TESTING=ON`, `ANYPS5_ENABLE_SPIRV_TOOLS=OFF`: the full default build and the `libs` target pass (`cmake --build build --parallel 6`, then `cmake --build build --target libs --parallel 6`). The previously reported `HostPoll` error no longer blocks this revision. - Windows runtime tests linked to the actual project libraries: all nine passed five consecutive runs each (45 successful executions): `guest_getlogin`, `guest_process_arguments`, `guest_parent_process`, `guest_errors`, `guest_sce_net`, `guest_poll`, `guest_socket_pair`, `guest_socket_read_write` and `guest_socket_events`. Command: `ctest --test-dir build --output-on-failure --no-tests=error --repeat until-fail:5 --parallel 1 --timeout 30 -R '^guest_(getlogin|process_arguments|parent_process|errors|sce_net|poll|socket_pair|socket_read_write|socket_events)$'`. - `guest_getlogin` covers the native account name, exact-fit and short buffers, NUL termination, canaries, unchanged short-buffer output, invalid lengths, null output, preserved errno and concurrent readers. The local Windows account name is ASCII; non-ASCII account names were not exercised. `guest_sce_net` also exercises `select`, including immediate/timed waits and invalid inputs, to check the integration with #4021. - Ubuntu 24.04, GCC 13.3, Release: configured the full project and built the actual `libkernel`/`libc` libraries and focused test targets on the same rebased source. All five CTest tests passed five consecutive runs each: `guest_getlogin`, `guest_getlogin_no_session`, `guest_process_arguments`, `guest_parent_process` and `guest_errors`. [Linux CI, including the failing-before/passing-after check](https://github.com/Lorkydey/AnyPS5/actions/runs/38185188072). The CI-only workflow is on a separate fork branch and is not part of this PR. - The new Linux `guest_getlogin_no_session` test links the actual `Login.cpp` with a controlled host `getlogin_r` returning `ENXIO`, `ENOENT`, or a different session name. All three must yield the effective account name. The previous implementation fails this test with guest result 6; the updated implementation passes. The normal `guest_getlogin` test now requires successful account lookup and no longer exits successfully without testing the buffer and concurrency cases when no session exists. - Conventions, test registration and whitespace checks pass. The full CTest suite was not run. Earlier independent title runs above used the original `187fd853` implementation; titles were not rerun for this revision. No console-hardware comparison is claimed. ### 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 - [x] Unimplemented paths throw; no silent stubs added - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source (none added) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes (Codex)
github-actions[bot] commented 2026-10-11 14:10:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T14:10:35Z.


Progress report (bca7a29 → f88be06)

📈 System libraries: 86.48% (+0.01%, +1 implemented functions)

✅ 1 implemented
Library Name
libkernel getlogin_r_nid_postfix
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6109895274 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3606#issuecomment-6109895274). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T14:10:35Z. --- <!-- progress-report --> ### Progress report (bca7a29 → f88be06) 📈 **System libraries**: 86.48% (+0.01%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libkernel | `getlogin_r_nid_postfix` | </details>
babyhuey commented 2026-10-11 14:46:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by babyhuey on 2026-10-11T14:46:11Z.


Checked on Linux (Ubuntu 24.04, GCC 13) and Windows 11 (MinGW-w64 GCC 15.2 from WinLibs), Release, with this PR (187fd853) merged onto main a11c8f7f.

  • guest_getlogin passes 5/5 on both (--repeat until-fail:5); no warnings in the changed files on Windows.
  • VLC (PPSA85300) gets past getlogin_r on both. On main Windows stops at FAIL: unresolved ELF import 78FiHequa9U (getlogin_r) from libkernel.prx; with this PR it stops at FAIL: unresolved ELF import J0kng1yac3M (readdir_r) from libSceLibcInternal.prx (#3635). Linux gives the same: undefined symbol: J0kng1yac3M.
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6110212906 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3606#issuecomment-6110212906). Originally posted by [babyhuey](https://github.com/babyhuey) on 2026-10-11T14:46:11Z. --- Checked on Linux (Ubuntu 24.04, GCC 13) and Windows 11 (MinGW-w64 GCC 15.2 from WinLibs), Release, with this PR (187fd853) merged onto `main` a11c8f7f. - `guest_getlogin` passes 5/5 on both (`--repeat until-fail:5`); no warnings in the changed files on Windows. - VLC (PPSA85300) gets past `getlogin_r` on both. On `main` Windows stops at `FAIL: unresolved ELF import 78FiHequa9U (getlogin_r) from libkernel.prx`; with this PR it stops at `FAIL: unresolved ELF import J0kng1yac3M (readdir_r) from libSceLibcInternal.prx` (#3635). Linux gives the same: `undefined symbol: J0kng1yac3M`.
blawesom commented 2026-10-11 15:00:02 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-11T15:00:02Z.


Cross-linking for the review: this implements half of the fix tracked in #3556 (getlogin_r; the readdir_r half is in #3635), which has an independent Linux verification on that issue — full suite 832/832 (CachyOS, GCC 16.2.1, including the Vulkan suites on AMD RX 9070 XT / RADV), conventions check clean.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6110337513 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3606#issuecomment-6110337513). Originally posted by [blawesom](https://github.com/blawesom) on 2026-10-11T15:00:02Z. --- Cross-linking for the review: this implements half of the fix tracked in #3556 (`getlogin_r`; the `readdir_r` half is in #3635), which has an independent Linux verification on that issue — full suite **832/832** (CachyOS, GCC 16.2.1, including the Vulkan suites on AMD RX 9070 XT / RADV), conventions check clean.
babyhuey commented 2026-10-11 17:36:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by babyhuey on 2026-10-11T17:36:57Z.


One more title for this PR: PShare (PPSA99773, 1.0, new in the catalog) also stops at getlogin_r on main a11c8f7f, and with this PR (187fd853) it loads all its imports. Same setups as above.

  • main, Windows: FAIL: unresolved ELF import 78FiHequa9U (getlogin_r) from libkernel.prx; Linux: undefined symbol: 78FiHequa9U
  • with this PR, Linux: no import stop; it aborts in sceVideoOutOpen because the run is headless.
  • with this PR, Windows: it opens its window (1920x1080 Vulkan surface), finishes its startup and loads its 20 sound files, then crashes reading a null pointer inside its own code (app.exe+0x12f1b, read of 0x240). That is past anything getlogin_r touches.
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6111784938 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3606#issuecomment-6111784938). Originally posted by [babyhuey](https://github.com/babyhuey) on 2026-10-11T17:36:57Z. --- One more title for this PR: PShare (PPSA99773, 1.0, new in the catalog) also stops at `getlogin_r` on `main` a11c8f7f, and with this PR (187fd853) it loads all its imports. Same setups as above. - `main`, Windows: `FAIL: unresolved ELF import 78FiHequa9U (getlogin_r) from libkernel.prx`; Linux: `undefined symbol: 78FiHequa9U` - with this PR, Linux: no import stop; it aborts in `sceVideoOutOpen` because the run is headless. - with this PR, Windows: it opens its window (1920x1080 Vulkan surface), finishes its startup and loads its 20 sound files, then crashes reading a null pointer inside its own code (`app.exe+0x12f1b`, read of `0x240`). That is past anything `getlogin_r` touches.
Lorkydey commented 2026-10-11 18:02:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Lorkydey on 2026-10-11T18:02:57Z.


One more title for this PR: PShare (PPSA99773, 1.0, new in the catalog) also stops at getlogin_r on main a11c8f7, and with this PR (187fd85) it loads all its imports. Same setups as above.

  • main, Windows: FAIL: unresolved ELF import 78FiHequa9U (getlogin_r) from libkernel.prx; Linux: undefined symbol: 78FiHequa9U
  • with this PR, Linux: no import stop; it aborts in sceVideoOutOpen because the run is headless.
  • with this PR, Windows: it opens its window (1920x1080 Vulkan surface), finishes its startup and loads its 20 sound files, then crashes reading a null pointer inside its own code (app.exe+0x12f1b, read of 0x240). That is past anything getlogin_r touches.

Thanks for the detailed report @babyhuey ! I reproduced the exact PShare crash and opened #3855 with a proposed fix and regression test.
sceKernelConvertUtcToLocaltime writes 8 bytes into PShares 4byte DST output, overwriting the saved model pointer. With #3606 plus #3855, it gets past that crash locally. It then stops at AGC graphics: last provoking vertex with explicit per vertex flat interpolation is unsupported.

Could you retest the two PRs together on your setups ?? The PR includes the ABI evidence and limitations; I haven’t verified this on a physical PS5.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6112018947 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3606#issuecomment-6112018947). Originally posted by [Lorkydey](https://github.com/Lorkydey) on 2026-10-11T18:02:57Z. --- > One more title for this PR: PShare (PPSA99773, 1.0, new in the catalog) also stops at `getlogin_r` on `main` [a11c8f7](https://github.com/boykopovar/AnyPS5/commit/a11c8f7f70a0ed4e71504a89de69e8cdae687817), and with this PR ([187fd85](https://github.com/boykopovar/AnyPS5/commit/187fd853e2ba5d20028b7359160248f350448892)) it loads all its imports. Same setups as above. > > * `main`, Windows: `FAIL: unresolved ELF import 78FiHequa9U (getlogin_r) from libkernel.prx`; Linux: `undefined symbol: 78FiHequa9U` > * with this PR, Linux: no import stop; it aborts in `sceVideoOutOpen` because the run is headless. > * with this PR, Windows: it opens its window (1920x1080 Vulkan surface), finishes its startup and loads its 20 sound files, then crashes reading a null pointer inside its own code (`app.exe+0x12f1b`, read of `0x240`). That is past anything `getlogin_r` touches. Thanks for the detailed report @babyhuey ! I reproduced the exact PShare crash and opened #3855 with a proposed fix and regression test. sceKernelConvertUtcToLocaltime writes 8 bytes into PShares 4byte DST output, overwriting the saved model pointer. With #3606 plus #3855, it gets past that crash locally. It then stops at AGC graphics: last provoking vertex with explicit per vertex flat interpolation is unsupported. Could you retest the two PRs together on your setups ?? The PR includes the ABI evidence and limitations; I haven’t verified this on a physical PS5.
babyhuey commented 2026-10-11 18:33:27 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by babyhuey on 2026-10-11T18:33:27Z.


Retested #3606 together with #3855 on Linux and Windows and got the same as you: the null read is gone and PShare stops at the AGC flat interpolation throw. Details on #3855.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6112301689 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3606#issuecomment-6112301689). Originally posted by [babyhuey](https://github.com/babyhuey) on 2026-10-11T18:33:27Z. --- Retested #3606 together with #3855 on Linux and Windows and got the same as you: the null read is gone and PShare stops at the AGC flat interpolation throw. Details on #3855.
oneandonlydean commented 2026-10-11 23:15:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T23:15:28Z.


Please add a TechnicalDebt entry for getlogin_r: it returns the host account name, and what the console returns isn't known.

On Linux the host call also fails with ENXIO or ENOENT when the process has no login session, so the same title gets a name or an error depending on how it was started. Say in the entry which of the two a guest should see, and make the code do that on every host.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6114990891 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3606#issuecomment-6114990891). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-11T23:15:28Z. --- Please add a TechnicalDebt entry for `getlogin_r`: it returns the host account name, and what the console returns isn't known. On Linux the host call also fails with `ENXIO` or `ENOENT` when the process has no login session, so the same title gets a name or an error depending on how it was started. Say in the entry which of the two a guest should see, and make the code do that on every host.
Lorkydey commented 2026-10-11 23:34:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Lorkydey on 2026-10-11T23:34:15Z.


@oneandonlydean thanks for catching this! Updated in 3a1f44c8.
The chosen behavior is to return the effective host account name even without a login session. POSIX now uses getpwuid_r(geteuid()) directly
Windows uses GetUserNameW. TechnicalDebt documents this policy and the unknown console behavior.

Added a regression test covering ENXIO, ENOENT and a different session name.
It fails before the change and passes afterward.
The focused Linux tests pass, and the Windows getlogin test passes 5/5.

The full Windows build is blocked by an existing HostPoll error on main, detailed in the PR.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6115155173 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3606#issuecomment-6115155173). Originally posted by [Lorkydey](https://github.com/Lorkydey) on 2026-10-11T23:34:15Z. --- @oneandonlydean thanks for catching this! Updated in `3a1f44c8`. The chosen behavior is to return the effective host account name even without a login session. POSIX now uses `getpwuid_r(geteuid())` directly Windows uses GetUserNameW. TechnicalDebt documents this policy and the unknown console behavior. Added a regression test covering ENXIO, ENOENT and a different session name. It fails before the change and passes afterward. The focused Linux tests pass, and the Windows getlogin test passes 5/5. The full Windows build is blocked by an existing HostPoll error on main, detailed in the PR.
Lorkydey commented 2026-10-11 23:54:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Lorkydey on 2026-10-11T23:54:39Z.


@oneandonlydean Quick update: #4021 was merged while I was writing my earlier comment fixing the unrelated HostPoll Windows build error.

I've rebased this PR onto the updated main and retested. The full Windows build now passes, and all focused tests pass on both Windows and Linux, with five consecutive runs each.

The PR description is updated with the results.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6115317713 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3606#issuecomment-6115317713). Originally posted by [Lorkydey](https://github.com/Lorkydey) on 2026-10-11T23:54:39Z. --- @oneandonlydean Quick update: #4021 was merged while I was writing my earlier comment fixing the unrelated HostPoll Windows build error. I've rebased this PR onto the updated main and retested. The full Windows build now passes, and all focused tests pass on both Windows and Linux, with five consecutive runs each. The PR description is updated with the results.
github-actions[bot] commented 2026-10-12 00:34:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-12T00:34:00Z.


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
#4050 docs/dev/TechnicalDebt.md L52
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6115654091 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3606#issuecomment-6115654091). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-12T00:34:00Z. --- <!-- 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 | |---|---|---|---| | #4050 | `docs/dev/TechnicalDebt.md` [L52](https://github.com/boykopovar/AnyPS5/blob/d06c06565717961104edecdab46ce61c8cc72a70/docs/dev/TechnicalDebt.md#L52) | | |
screamm commented 2026-10-12 00:36:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by screamm on 2026-10-12T00:36:32Z.


Windows validation with title evidence (Windows 11 Pro 26220, WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release, BUILD_TESTING=ON, full build including libs): PR head 187fd853 merged cleanly onto main bca7a29d (which already includes #4021). guest_getlogin 3/3; ctest -j8 -E "^agc_driver_|^video_out_flip" 583/585, the two failures being the known agc_write_tracking (#4087) and guest_kernel_stack_protect (#4088), no new failure against the main baseline; conventions and git diff --check pass.

VLC (PPSA85300 0.3.1) relinked against this build: before, FAIL: unresolved ELF import 78FiHequa9U from libkernel.prx (getlogin_r); after, FAIL: unresolved ELF import J0kng1yac3M from libSceLibcInternal.prx (readdir_r, open #3635), exactly the next stop predicted from its import order.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6115677343 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/3606#issuecomment-6115677343). Originally posted by [screamm](https://github.com/screamm) on 2026-10-12T00:36:32Z. --- Windows validation with title evidence (Windows 11 Pro 26220, WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release, `BUILD_TESTING=ON`, full build including `libs`): PR head `187fd853` merged cleanly onto `main` `bca7a29d` (which already includes #4021). `guest_getlogin` 3/3; `ctest -j8 -E "^agc_driver_|^video_out_flip"` 583/585, the two failures being the known `agc_write_tracking` (#4087) and `guest_kernel_stack_protect` (#4088), no new failure against the `main` baseline; conventions and `git diff --check` pass. VLC (PPSA85300 0.3.1) relinked against this build: before, `FAIL: unresolved ELF import 78FiHequa9U from libkernel.prx` (getlogin_r); after, `FAIL: unresolved ELF import J0kng1yac3M from libSceLibcInternal.prx` (readdir_r, open #3635), exactly the next stop predicted from its import order.
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!3606
No description provided.