Commit Graph
4 Commits
Author SHA1 Message Date
AdriàandClaude Sonnet 5.5 735dd0bdd7 fix(libkernel): declare the unnamed ksem exports once in the public header
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-28 12:58:01 +01:00
David fd6513d6ff refactor(libkernel): move the unnamed ksem calls into libkernel
The PS5 3.20 export lists have ksem_* in libkernel as well as
libkernel_sys, and on Windows a libkernel import never reaches
libkernel_sys, so titles importing them from libkernel did not find
them. Following pipe1os's review on #9284, also: ENOSPC from
ksem_init when no descriptor is left, the SEM_MAX limit of 30 with
ENOSPC, and dup/dup2 from a ksem id throwing as for a kqueue.
2026-10-28 12:57:04 +01:00
David 641df21cfd test(libkernel_sys): open the ksem stale-descriptor file by a guest-relative name
An absolute host temp path is not mapped by the Linux guest resolver.
Found by xXPBSXx on #9097.
2026-10-28 12:56:55 +01:00
David 0c1efe7bae test(libkernel_sys): cover the unnamed ksem semaphores, including closed and replaced ids 2026-10-28 12:56:42 +01:00