feat(libkernel): export the underscore entry points of the socket, directory and signal calls #8700

Merged
nikowolf123 merged 2 commits from upstream-pr/8700 into main 2026-10-23 11:53:05 +00:00
nikowolf123 commented 2026-10-20 21:31:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by nikowolf123 on 2026-10-20T21:31:38Z.


What

main does not export 15 libkernel names that the PS5 3.20 libkernel exports: _accept, _bind, _connect, _getdirentries, _getpeername, _getsockname, _getsockopt, _listen, _recvfrom, _recvmsg, _sendmsg, _sendto, _setsockopt, _sigaction and _sigsuspend. A title that imports one fails at startup with a missing import. These are FreeBSD libc's private names for the calls: namespace.h defines accept as _accept and so on, except for sigaction, whose line is commented out.

Each name is now exported and forwards, with the same arguments, to the AnyPS5 export without the underscore, as _close, _ioctl and _nanosleep already do:

Export (NID) Forwards to In FreeBSD 11.4
_accept (B+zfF7bMswI) accept the system call; accept adds libthr's cancellation point
_bind (4boImm4wxu0) bind the same stub as bind
_connect (KFDGyLj80MY) connect the system call; connect adds a cancellation point
_getdirentries (sfKygSjIbI8) getdirentries the same stub as getdirentries
_getpeername (rTNM7adVYog) getpeername the same stub as getpeername
_getsockname (6Gwl39KKUEI) getsockname the same stub as getsockname
_getsockopt (cL2QUlo9Vnk) getsockopt the same stub as getsockopt
_listen (6EYF3tXjXbU) listen the same stub as listen
_recvfrom (gPcQ3OrFBUA) recvfrom the system call; recvfrom adds a cancellation point
_recvmsg (PcKApW9kVoQ) recvmsg the system call; recvmsg adds a cancellation point
_sendmsg (+L22kkFiXok) sendmsg the system call; sendmsg adds a cancellation point
_sendto (lvDhwhUC05E) sendto the system call; sendto adds a cancellation point
_setsockopt (a4KKvF-ME4M) setsockopt the same stub as setsockopt
_sigaction (UDCI-WazohQ) sigaction the system call; sigaction goes to libthr's __thr_sigaction, which wraps handlers and rejects SIGCANCEL (32)
_sigsuspend (9zpLsLESzTs) sigsuspend the system call; sigsuspend adds a cancellation point

The AnyPS5 exports without the underscore have no libthr layer. The existing debt entries say so: "file and socket calls are not cancellation points" (Thread cancellation) and "None of the five waits is a cancellation point" (pause, sigsuspend, sigwait, sigwaitinfo). sigaction reports the guest's own handler and accepts signal 32. So forwarding gives each underscore name the system call's behaviour, as far as the exports without the underscore model it.

Results and error values are those of the exports without the underscore, which this PR does not change. The new test checks the following through the underscore names:

  • _bind: returns 0 for 127.0.0.1:0. Binding the bound socket again gives EINVAL (22). A closed descriptor gives EBADF (9).
  • _listen: returns 0 on a stream socket. A datagram socket gives EOPNOTSUPP (45), a closed descriptor EBADF.
  • _accept: returns a new descriptor and the peer's 16-byte address, which equals the client's _getsockname. A stream socket that is not listening gives EINVAL. A closed descriptor gives EBADF and leaves the address and length untouched.
  • _connect: returns 0 on a stream socket and on a datagram socket. A 15-byte AF_INET address gives EINVAL, a closed descriptor EBADF.
  • _getsockname, _getpeername: return the 16-byte addresses of both ends of a TCP connection and the peer of a connected datagram socket. A closed descriptor gives EBADF and leaves the outputs untouched.
  • _getsockopt, _setsockopt: TCP_NODELAY reads 0, then 4 once set, with length 4. TCP_MAXSEG gives ENOPROTOOPT (42). A closed descriptor gives EBADF and leaves the value and length untouched.
  • _sendto, _recvfrom:
    • a datagram arrives with its sender's address (127.0.0.1 and the sender's port);
    • a stream receive reports no sender: the length becomes 0 and the address is untouched;
    • a connected datagram socket sends without an address;
    • MSG_OOB gives EOPNOTSUPP;
    • a closed descriptor gives EBADF and leaves the buffer, address and length untouched.
  • _sendmsg, _recvmsg:
    • a two-part gather arrives in a two-part scatter with the sender's address and flags 0;
    • a 5-byte receive of a 14-byte datagram returns 5 with MSG_TRUNC (0x10);
    • a null message gives EFAULT (14);
    • a closed descriptor gives EBADF.
  • _getdirentries:
    • reads the records of ., .. and one file with *basep = 0;
    • the bytes, length and *basep are those getdirentries returns from the same position;
    • the next call returns 0 with a positive *basep;
    • a zero length gives EINVAL, a null buffer EFAULT, a closed descriptor EBADF; each leaves the buffer and *basep untouched.
  • _sigaction:
    • installs a SIGTERM (15) handler that raise runs, and reports the previous and current action;
    • signals 0 and 129, and a handler on SIGKILL (9) or SIGSTOP (17), give EINVAL and leave the old action untouched.
  • _sigsuspend: SIGUSR1 (30) is blocked and pending, with a handler set by _sigaction. An empty mask delivers it to the handler and returns -1 with EINTR (4), and the blocked mask is restored afterwards.

The 12 socket forwarders form one extern "C" block at the end of core/libs/prx/libkernel/Socket/src/Udp.cpp. Many open pull requests edit the bodies of the socket calls in that file, and none edits its end. _getdirentries follows getdirentries in File/src/Stdio.cpp. _sigaction and _sigsuspend follow their counterparts in System/src/Signals.cpp. The test is a new file, core/libs/tests/GuestUnderscoreEntries.cpp, registered after guest_socket_connect_listening.

Sources (pinned):

  • PS5 3.20 export list, DNNDHH/PS5-3.20_Libs libkernel.c: the stubs at L347-L606 include these 15 names, and L7873-L7910 resolve them by the NIDs in the table. compute_nid in tools/nid_names.py gives the same NIDs.
  • FreeBSD 11.4 (release/11.4.0, commit 8c639945a4):
    • lib/libc/amd64/SYS.h L39-L50: RSYSCALL(name) defines __sys_name with the weak aliases name and _name; PSEUDO(name) gives it only _name.
    • lib/libc/sys/Makefile.inc L33-L81: accept, connect, recvfrom, recvmsg, sendmsg, sendto, sigsuspend and, on amd64, sigaction are INTERPOSED. Their stubs are PSEUDO, and the public name is a C function that calls through __libc_interposing, as in accept.c L43-L50.
    • bind, getdirentries, getpeername, getsockname, getsockopt, listen and setsockopt are in sys/sys/syscall.mk and are not interposed. The amd64 MDASM and NOASM lists do not name them, and lib/libc/sys has no C file for them, so each gets the generated RSYSCALL stub.
    • lib/libthr/thread/thr_syscalls.c L639-L692 points those slots at libthr. __thr_accept (L98-L110) and the connect, recvfrom, recvmsg, sendmsg and sendto versions only wrap __sys_* in _thr_cancel_enter and _thr_cancel_leave.
    • lib/libthr/thread/thr_sig.c L517-L584: __thr_sigaction rejects SIGCANCEL and installs thr_sighandler with __sys_sigaction. L621-L644: __thr_sigsuspend is a cancellation point.
    • libc's Symbol.map exports _sigaction and _sigsuspend in FBSDprivate_1.0. libthr's pthread.map lists neither, and version_gen.awk L227-L230 makes unlisted symbols local. So the exported _sigsuspend is libc's system call stub, not libthr's internal _sigsuspend.

Not verified on a console: that the PS5's underscore entry points take FreeBSD's arguments and behave as the system call without libthr. A new entry in docs/dev/debt/libkernel.md (Functional, after ioctl, _ioctl) records this, together with two differences from FreeBSD 11.4:

  • _sigaction shares one handler table with sigaction. In FreeBSD, sigaction hands libthr's wrapper to the system call that _sigaction reads back, and rejects SIGCANCEL (32).
  • A null set throws in _sigsuspend, as in sigsuspend. The system call that FreeBSD 11.4 exports as _sigsuspend returns EFAULT there, but libthr defines its own global _sigsuspend (thr_sig.c L613-L619) that dereferences the set (L126-L131). A PS5 libkernel that merges libc's stubs with libthr could export either, so the throw stays until the console's answer is measured.

The behaviour of the exports without the underscore keeps its existing entries.

Overlap: no open or closed pull request adds any of these names; I searched for each name in titles and bodies. Some open pull requests change the exports these names forward to, and the underscore names would follow them. None of them changes a case the new test asserts. For example:

The new test does not check any case these change. Every open pull request that touches any of the five existing files this PR changes, and still merges with main 2c4b116da, also merges with this branch (three-way merge of those files). #8742 conflicted with the earlier place of the new debt entry, after getsid, which it rewrites; the entry now follows ioctl, _ioctl.

Tested

Linux: WSL2 Ubuntu 26.04 LTS (kernel 6.18.33.2-microsoft-standard-WSL2), g++ (Ubuntu 15.2.0-16ubuntu1) 15.2.0, CMake 4.2.3, Ninja, Release, -DBUILD_TESTING=ON. I built the libkernel and guest_underscore_entry_tests targets, with no compiler warnings, and ran ctest -R '^guest_underscore_entries$' --output-on-failure --timeout 120:

  • This branch, one commit on main a6a4101e19: guest_underscore_entries passed, 1/1 in 0.02 s; again 1/1 at 0ac2b0bc6, one commit on main 2c4b116da. The What section lists what it checks.
  • The new test against main's library (a6a4101e19 plus only the test and its registration): guest_underscore_entry_tests does not link. ld reports undefined references to all 15 _*_nid_postfix names, because main does not define them; there is no stub to throw.
  • tools/check_conventions.py --base origin/main passes.
  • tools/progress.py --module libkernel reports 643/681 done functions, up from 628/666 on main 2c4b116da. The 15 functions added as done are the _*_nid_postfix forwarders in the table; no other name changes.
  • With WinLibs GCC 15.2.0 (MinGW-w64 UCRT), g++ -std=gnu++20 -fsyntax-only passes on the three changed library sources. It also passes on the test with -Wall -Wextra, with no warnings.

Windows: not built. No title was run.

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 (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4942776248 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8700). Originally posted by [nikowolf123](https://github.com/nikowolf123) on 2026-10-20T21:31:38Z. --- ### What `main` does not export 15 libkernel names that the PS5 3.20 libkernel exports: `_accept`, `_bind`, `_connect`, `_getdirentries`, `_getpeername`, `_getsockname`, `_getsockopt`, `_listen`, `_recvfrom`, `_recvmsg`, `_sendmsg`, `_sendto`, `_setsockopt`, `_sigaction` and `_sigsuspend`. A title that imports one fails at startup with a missing import. These are FreeBSD libc's private names for the calls: [`namespace.h`](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/lib/libc/include/namespace.h#L51-L232) defines `accept` as `_accept` and so on, except for `sigaction`, whose line is commented out. Each name is now exported and forwards, with the same arguments, to the AnyPS5 export without the underscore, as `_close`, `_ioctl` and `_nanosleep` already do: | Export (NID) | Forwards to | In FreeBSD 11.4 | |---|---|---| | `_accept` (`B+zfF7bMswI`) | `accept` | the system call; `accept` adds libthr's cancellation point | | `_bind` (`4boImm4wxu0`) | `bind` | the same stub as `bind` | | `_connect` (`KFDGyLj80MY`) | `connect` | the system call; `connect` adds a cancellation point | | `_getdirentries` (`sfKygSjIbI8`) | `getdirentries` | the same stub as `getdirentries` | | `_getpeername` (`rTNM7adVYog`) | `getpeername` | the same stub as `getpeername` | | `_getsockname` (`6Gwl39KKUEI`) | `getsockname` | the same stub as `getsockname` | | `_getsockopt` (`cL2QUlo9Vnk`) | `getsockopt` | the same stub as `getsockopt` | | `_listen` (`6EYF3tXjXbU`) | `listen` | the same stub as `listen` | | `_recvfrom` (`gPcQ3OrFBUA`) | `recvfrom` | the system call; `recvfrom` adds a cancellation point | | `_recvmsg` (`PcKApW9kVoQ`) | `recvmsg` | the system call; `recvmsg` adds a cancellation point | | `_sendmsg` (`+L22kkFiXok`) | `sendmsg` | the system call; `sendmsg` adds a cancellation point | | `_sendto` (`lvDhwhUC05E`) | `sendto` | the system call; `sendto` adds a cancellation point | | `_setsockopt` (`a4KKvF-ME4M`) | `setsockopt` | the same stub as `setsockopt` | | `_sigaction` (`UDCI-WazohQ`) | `sigaction` | the system call; `sigaction` goes to libthr's `__thr_sigaction`, which wraps handlers and rejects `SIGCANCEL` (32) | | `_sigsuspend` (`9zpLsLESzTs`) | `sigsuspend` | the system call; `sigsuspend` adds a cancellation point | The AnyPS5 exports without the underscore have no libthr layer. The existing debt entries say so: "file and socket calls are not cancellation points" (Thread cancellation) and "None of the five waits is a cancellation point" (`pause, sigsuspend, sigwait, sigwaitinfo`). `sigaction` reports the guest's own handler and accepts signal 32. So forwarding gives each underscore name the system call's behaviour, as far as the exports without the underscore model it. Results and error values are those of the exports without the underscore, which this PR does not change. The new test checks the following through the underscore names: - `_bind`: returns `0` for `127.0.0.1:0`. Binding the bound socket again gives `EINVAL` (22). A closed descriptor gives `EBADF` (9). - `_listen`: returns `0` on a stream socket. A datagram socket gives `EOPNOTSUPP` (45), a closed descriptor `EBADF`. - `_accept`: returns a new descriptor and the peer's 16-byte address, which equals the client's `_getsockname`. A stream socket that is not listening gives `EINVAL`. A closed descriptor gives `EBADF` and leaves the address and length untouched. - `_connect`: returns `0` on a stream socket and on a datagram socket. A 15-byte `AF_INET` address gives `EINVAL`, a closed descriptor `EBADF`. - `_getsockname`, `_getpeername`: return the 16-byte addresses of both ends of a TCP connection and the peer of a connected datagram socket. A closed descriptor gives `EBADF` and leaves the outputs untouched. - `_getsockopt`, `_setsockopt`: `TCP_NODELAY` reads `0`, then `4` once set, with length 4. `TCP_MAXSEG` gives `ENOPROTOOPT` (42). A closed descriptor gives `EBADF` and leaves the value and length untouched. - `_sendto`, `_recvfrom`: - a datagram arrives with its sender's address (`127.0.0.1` and the sender's port); - a stream receive reports no sender: the length becomes 0 and the address is untouched; - a connected datagram socket sends without an address; - `MSG_OOB` gives `EOPNOTSUPP`; - a closed descriptor gives `EBADF` and leaves the buffer, address and length untouched. - `_sendmsg`, `_recvmsg`: - a two-part gather arrives in a two-part scatter with the sender's address and flags `0`; - a 5-byte receive of a 14-byte datagram returns 5 with `MSG_TRUNC` (`0x10`); - a null message gives `EFAULT` (14); - a closed descriptor gives `EBADF`. - `_getdirentries`: - reads the records of `.`, `..` and one file with `*basep` = 0; - the bytes, length and `*basep` are those `getdirentries` returns from the same position; - the next call returns `0` with a positive `*basep`; - a zero length gives `EINVAL`, a null buffer `EFAULT`, a closed descriptor `EBADF`; each leaves the buffer and `*basep` untouched. - `_sigaction`: - installs a `SIGTERM` (15) handler that `raise` runs, and reports the previous and current action; - signals 0 and 129, and a handler on `SIGKILL` (9) or `SIGSTOP` (17), give `EINVAL` and leave the old action untouched. - `_sigsuspend`: `SIGUSR1` (30) is blocked and pending, with a handler set by `_sigaction`. An empty mask delivers it to the handler and returns `-1` with `EINTR` (4), and the blocked mask is restored afterwards. The 12 socket forwarders form one `extern "C"` block at the end of `core/libs/prx/libkernel/Socket/src/Udp.cpp`. Many open pull requests edit the bodies of the socket calls in that file, and none edits its end. `_getdirentries` follows `getdirentries` in `File/src/Stdio.cpp`. `_sigaction` and `_sigsuspend` follow their counterparts in `System/src/Signals.cpp`. The test is a new file, `core/libs/tests/GuestUnderscoreEntries.cpp`, registered after `guest_socket_connect_listening`. Sources (pinned): - PS5 3.20 export list, DNNDHH/PS5-3.20_Libs `libkernel.c`: the stubs at [L347-L606](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libkernel.c#L347-L606) include these 15 names, and [L7873-L7910](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libkernel.c#L7873-L7910) resolve them by the NIDs in the table. `compute_nid` in `tools/nid_names.py` gives the same NIDs. - FreeBSD 11.4 (`release/11.4.0`, commit 8c639945a4): - [`lib/libc/amd64/SYS.h` L39-L50](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/lib/libc/amd64/SYS.h#L39-L50): `RSYSCALL(name)` defines `__sys_name` with the weak aliases `name` and `_name`; `PSEUDO(name)` gives it only `_name`. - [`lib/libc/sys/Makefile.inc` L33-L81](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/lib/libc/sys/Makefile.inc#L33-L81): `accept`, `connect`, `recvfrom`, `recvmsg`, `sendmsg`, `sendto`, `sigsuspend` and, on amd64, `sigaction` are `INTERPOSED`. Their stubs are `PSEUDO`, and the public name is a C function that calls through `__libc_interposing`, as in [`accept.c` L43-L50](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/lib/libc/sys/accept.c#L43-L50). - `bind`, `getdirentries`, `getpeername`, `getsockname`, `getsockopt`, `listen` and `setsockopt` are in [`sys/sys/syscall.mk`](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/sys/sys/syscall.mk) and are not interposed. The amd64 `MDASM` and `NOASM` lists do not name them, and `lib/libc/sys` has no C file for them, so each gets the generated `RSYSCALL` stub. - [`lib/libthr/thread/thr_syscalls.c` L639-L692](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/lib/libthr/thread/thr_syscalls.c#L639-L692) points those slots at libthr. `__thr_accept` ([L98-L110](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/lib/libthr/thread/thr_syscalls.c#L98-L110)) and the `connect`, `recvfrom`, `recvmsg`, `sendmsg` and `sendto` versions only wrap `__sys_*` in `_thr_cancel_enter` and `_thr_cancel_leave`. - [`lib/libthr/thread/thr_sig.c` L517-L584](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/lib/libthr/thread/thr_sig.c#L517-L584): `__thr_sigaction` rejects `SIGCANCEL` and installs `thr_sighandler` with `__sys_sigaction`. [L621-L644](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/lib/libthr/thread/thr_sig.c#L621-L644): `__thr_sigsuspend` is a cancellation point. - libc's [`Symbol.map`](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/lib/libc/sys/Symbol.map#L949-L961) exports `_sigaction` and `_sigsuspend` in `FBSDprivate_1.0`. libthr's [`pthread.map`](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/lib/libthr/pthread.map) lists neither, and [`version_gen.awk` L227-L230](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/share/mk/version_gen.awk#L227-L230) makes unlisted symbols local. So the exported `_sigsuspend` is libc's system call stub, not libthr's internal `_sigsuspend`. Not verified on a console: that the PS5's underscore entry points take FreeBSD's arguments and behave as the system call without libthr. A new entry in `docs/dev/debt/libkernel.md` (Functional, after `ioctl, _ioctl`) records this, together with two differences from FreeBSD 11.4: - `_sigaction` shares one handler table with `sigaction`. In FreeBSD, `sigaction` hands libthr's wrapper to the system call that `_sigaction` reads back, and rejects `SIGCANCEL` (32). - A null set throws in `_sigsuspend`, as in `sigsuspend`. The system call that FreeBSD 11.4 exports as `_sigsuspend` returns `EFAULT` there, but libthr defines its own global `_sigsuspend` ([`thr_sig.c` L613-L619](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/lib/libthr/thread/thr_sig.c#L613-L619)) that dereferences the set ([L126-L131](https://github.com/freebsd/freebsd-src/blob/8c639945a44588f6cfdddfb057bb5aad88735da0/lib/libthr/thread/thr_sig.c#L126-L131)). A PS5 libkernel that merges libc's stubs with libthr could export either, so the throw stays until the console's answer is measured. The behaviour of the exports without the underscore keeps its existing entries. Overlap: no open or closed pull request adds any of these names; I searched for each name in titles and bodies. Some open pull requests change the exports these names forward to, and the underscore names would follow them. None of them changes a case the new test asserts. For example: - #7485: `accept`; - #7502: `getsockname` and `getpeername`; - #7507: `recvfrom`; - #7511 and #8448: `getsockopt` and `setsockopt`; - #8392: socket address checks; - #8411: `sigaction` flags; - #8407: the `sigsuspend` mask; - #8463: `sendmsg`. The new test does not check any case these change. Every open pull request that touches any of the five existing files this PR changes, and still merges with `main` 2c4b116da, also merges with this branch (three-way merge of those files). #8742 conflicted with the earlier place of the new debt entry, after `getsid`, which it rewrites; the entry now follows `ioctl, _ioctl`. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Linux: WSL2 Ubuntu 26.04 LTS (kernel 6.18.33.2-microsoft-standard-WSL2), g++ (Ubuntu 15.2.0-16ubuntu1) 15.2.0, CMake 4.2.3, Ninja, Release, `-DBUILD_TESTING=ON`. I built the `libkernel` and `guest_underscore_entry_tests` targets, with no compiler warnings, and ran `ctest -R '^guest_underscore_entries$' --output-on-failure --timeout 120`: - This branch, one commit on `main` a6a4101e19: `guest_underscore_entries` passed, 1/1 in 0.02 s; again 1/1 at 0ac2b0bc6, one commit on `main` 2c4b116da. The What section lists what it checks. - The new test against `main`'s library (a6a4101e19 plus only the test and its registration): `guest_underscore_entry_tests` does not link. `ld` reports undefined references to all 15 `_*_nid_postfix` names, because `main` does not define them; there is no stub to throw. - `tools/check_conventions.py --base origin/main` passes. - `tools/progress.py --module libkernel` reports 643/681 done functions, up from 628/666 on `main` 2c4b116da. The 15 functions added as done are the `_*_nid_postfix` forwarders in the table; no other name changes. - With WinLibs GCC 15.2.0 (MinGW-w64 UCRT), `g++ -std=gnu++20 -fsyntax-only` passes on the three changed library sources. It also passes on the test with `-Wall -Wextra`, with no warnings. Windows: not built. No title was run. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: <!-- #PR, or none --> none - [x] Fixes: <!-- issue it closes as Fixes #N, or none --> none - [x] Unblocks: <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> none - [x] GPUs tested: <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> n/a - [x] AI-assisted: <!-- yes / no --> yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ycbuzi commented 2026-10-21 04:58:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ycbuzi on 2026-10-21T04:58:01Z.


Windows run of c71074de97 merged onto main 1fd67185b6 (9f2f7de645, clean), the build the description lists as not done. Windows 11 Home 10.0.26200, MinGW-w64 GCC 15.2.0 (ucrt-posix-seh r7), Release, BUILD_TESTING=ON.

Built libkernel and guest_underscore_entry_tests with no errors or warnings; ctest -R "^guest_underscore_entries$" --repeat until-fail:3: passes every repeat (0.02 s a run). Not run: the negative control against main's library, a title.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6308416112 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8700#issuecomment-6308416112). Originally posted by [ycbuzi](https://github.com/ycbuzi) on 2026-10-21T04:58:01Z. --- Windows run of c71074de97 merged onto `main` 1fd67185b6 (9f2f7de645, clean), the build the description lists as not done. Windows 11 Home 10.0.26200, MinGW-w64 GCC 15.2.0 (ucrt-posix-seh r7), Release, `BUILD_TESTING=ON`. Built `libkernel` and `guest_underscore_entry_tests` with no errors or warnings; `ctest -R "^guest_underscore_entries$" --repeat until-fail:3`: passes every repeat (0.02 s a run). Not run: the negative control against `main`'s library, a title.
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!8700
No description provided.