Commit Graph
71 Commits
Author SHA1 Message Date
Dean 8697910db1 Merge pull request #11869 from santhoshkumar-dev/codex/spawn-optional-pid
fix(libSceLibcInternal): allow omitted spawn PID outputs
2026-11-03 01:27:33 +13:00
Dean b10f83849c Merge pull request #11866 from santhoshkumar-dev/codex/spawn-guest-errors
fix(libSceLibcInternal): translate native spawn errors
2026-11-03 01:27:27 +13:00
Dean Galvin 931c38d03f Merge commit 'd5ec8e6575be37f4340ded9c64c51b1d07076b51' into HEAD
# Conflicts:
#	core/libs/prx/libSceLibcInternal/Spawn.cpp
2026-11-01 23:39:18 +13:00
Dean Galvin f1cb976f90 Merge main into salvage/libc-internal-9528
# Conflicts:
#	docs/dev/debt/libSceLibcInternal.md
2026-11-01 21:09:40 +13:00
Miguel Cox Caballero a675d0e45b feat(libSceLibcInternal): implement the aligned nothrow array new and the aligned array delete
NIDs s2eGsgUF9vk (_ZnamSt11align_val_tRKSt9nothrow_t) and v09ZcAhZzSc
(_ZdaPvSt11align_val_t) forward to the libc exports of the same names
instead of throwing.
2026-11-01 03:46:44 +01:00
Adrià ca96807e83 Merge pull request #13724 from MaxLikesCode/feat/libcinternal-mtx
feat(libSceLibcInternal): implement _Mtxinit, _Mtxlock, _Mtxunlock and _Mtxdst
2026-11-01 01:51:09 +01:00
Dean 0ef63f1de6 Merge pull request #11749 from oneandonlydean/salvage/libc-internal-9532
feat(libSceLibcInternal): declare 149 PS5 3.20 round four exports
2026-11-01 10:17:18 +13:00
MaxandClaude Opus 5.5 a3b689bfdf docs(libSceLibcInternal): record that the _Mtx helpers follow PS4 code
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 04:48:57 +01:00
MaxandClaude Opus 5.5 0e8a80443a feat(libSceLibcInternal): implement _Mtxinit, _Mtxlock, _Mtxunlock and _Mtxdst
_Mtxinit makes a recursive mutex named SceLibcI_<name> (SceLibcI without
a name) and returns 0, or 1 when the attribute or the mutex cannot be
created. _Mtxlock, _Mtxunlock and _Mtxdst return 1 when the pthread call
fails and 0 otherwise. shadPS4 and fpPS4 agree on both.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 03:44:45 +01:00
Kyon 6eb80871af fix(libSceLibcInternal): prevent host symbol interposition 2026-10-30 12:32:42 +00:00
Kyon 967b1c74bf Merge remote-tracking branch 'origin/main' into feat/libc-internal-320-exports 2026-10-30 12:30:57 +00:00
Adrià 3d19f3fed3 Merge pull request #13082 from Celegans12/feat/libcinternal-inventory-exports-20261030
feat(libcinternal): add missing heap inventory exports
2026-10-30 11:38:43 +01:00
Dean Galvin dca634500a Merge main into PR #11749 2026-10-30 23:05:29 +13:00
Adrià d6cf4d47ae Merge pull request #12977 from KernelPanicNT/feat/libcinternal-opendir2-flags
feat(libSceLibcInternal): handle every __opendir2 flag
2026-10-30 06:21:24 +01:00
Kyon 6a6708fbef docs(libSceLibcInternal): clarify image provenance 2026-10-30 02:57:56 +00:00
Kyon 15afe70c86 docs(libSceLibcInternal): record export identities 2026-10-30 02:39:29 +00:00
Kyon 36ea3f125f refactor(libSceLibcInternal): exclude overlapping exports 2026-10-30 02:39:01 +00:00
Kyon 97d3ac5217 Merge remote-tracking branch 'origin/main' into feat/libc-internal-320-exports
# Conflicts:
#	docs/dev/debt/libSceLibcInternal.md
2026-10-30 02:37:07 +00:00
Codex 0c9bfa36e2 feat(libcinternal): add missing heap inventory exports 2026-10-30 02:20:40 +02:00
Dean Galvin d38514c546 Merge branch 'main' into salvage/libc-internal-9498 2026-10-30 08:17:22 +13:00
Dean b23f3e59b0 Merge pull request #11748 from oneandonlydean/salvage/libc-internal-9665
feat(libSceLibcInternal): declare 149 PS5 3.20 round six exports
2026-10-30 08:12:50 +13:00
Kyon d2ec748f20 feat(libSceLibcInternal): declare 308 callable exports 2026-10-29 18:22:22 +00:00
KernelPanicNT 03fc7bbca3 feat(libSceLibcInternal): handle every __opendir2 flag
Follow FreeBSD 11.4's __opendir2: __DTF_READALL or __DTF_SKIPREAD
returns NULL with errno unchanged, and every other value opens the
directory as opendir does, since the remaining flags only act on union
mounts and whiteout entries.
2026-10-29 17:28:13 +00:00
Adrià 7b57271358 Merge pull request #11504 from verusferro/feat/libc-xfilesystem-error
feat(libc): throw std::filesystem::filesystem_error from _Xfilesystem_error as the console's libc does
2026-10-29 13:47:45 +01:00
p3nicillinandClaude Opus 5.5 5ed6f7b88d docs(libSceLibcInternal): name the __opendir2 caller by title ID and note readdir's DTF_HIDEW check
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 17:08:29 +00:00
p3nicillinandClaude Opus 5.5 651436d6a3 feat(libSceLibcInternal): add __opendir2
The ps5-payload-sdk's fts_build calls __opendir2 with DTF_HIDEW,
DTF_NODUP and DTF_REWIND, and PS5 Bible Reader (PPSA99793) failed to
load on the unresolved import. In FreeBSD 11 those flags only change
reading a union mount, which AnyPS5 does not have, so the call opens
the directory as opendir does; other flags throw.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 15:26:34 +00:00
verusferro 778c4a74ec feat(libc): throw std::filesystem::filesystem_error from _Xfilesystem_error as the console's libc does 2026-10-28 15:10:30 +03:00
Santhosh Kumar 1388c4ff97 fix(libSceLibcInternal): allow omitted spawn PID outputs 2026-10-27 15:49:09 +05:30
Santhosh Kumar fb48d37bf3 docs(libSceLibcInternal): shorten spawn limitations 2026-10-27 15:35:33 +05:30
Santhosh Kumar be04b1c284 fix(libSceLibcInternal): translate native spawn errors 2026-10-27 15:30:59 +05:30
Dean Galvin 24a9a8e420 fix(libSceLibcInternal): drop the stub an open libc PR implements
Remove the std::collate<char>::transform stub (XaSxLBnqcWE), which #11793 adds to libc, with its debt entry, leaving 149.
2026-10-27 20:44:40 +13:00
Dean Galvin 428d3c1ff3 fix(libSceLibcInternal): drop the stubs open PRs implement
Remove the 8 stubs whose NIDs open PRs #10615, #10780 and #11729 add to libc, with their debt names, leaving 120.
2026-10-27 20:32:46 +13:00
Dean Galvin 9230c18a7b fix(libSceLibcInternal): drop the stubs open libc PRs now implement
Remove _Btowc (aMucxariNg8) and _Getptimes (8xXiEPby8h8), which #11734 and #11735 add to libc, with their debt names.
2026-10-27 20:07:11 +13:00
Dean Galvin 8c00b6e828 docs(libSceLibcInternal): keep main's debt entries unchanged beside the round three imports
The merge with main moved and reworded existing debt entries; restore them
and append the round three section after them. No export is dropped: main
defines none of these NIDs.
2026-10-27 19:14:14 +13:00
Dean Galvin ece7d48331 fix(libSceLibcInternal): drop the exports main already provides
Remove the stubs whose NIDs main now defines, with their debt entries, and
keep main's own debt entries unchanged: the imports are appended after them.
2026-10-27 19:14:02 +13:00
Dean Galvin 1c840f48d8 fix(libSceLibcInternal): drop the exports main already provides
Remove the stubs whose NIDs main now defines, with their debt entries, and
keep main's own debt entries unchanged: the imports are appended after them.
2026-10-27 19:13:33 +13:00
Dean Galvin 25ba5a90e2 merge: main into salvage/libc-internal-9498 2026-10-27 19:11:14 +13:00
Dean Galvin 3fda4f1b36 merge: main into salvage/libc-internal-9528 2026-10-27 19:11:13 +13:00
Dean Galvin 63491d5285 merge: main into salvage/libc-internal-9532 2026-10-27 19:11:12 +13:00
Dean Galvin d482235d29 fix(libSceLibcInternal): drop the export main already provides
Remove the one round six stub whose NID main now defines, with its debt
entry, and keep main's own debt entries unchanged: the round six section
is appended after them.
2026-10-27 19:10:35 +13:00
Dean Galvin c247437c9c merge: main into salvage/libc-internal-9665 2026-10-27 19:05:25 +13:00
fogydes df18d83072 docs: add the spawn role variable and shorten the waitpid debt 2026-10-25 13:57:18 +01:00
fogydes 723d932f73 feat(libSceLibcInternal): implement posix_spawn process creation and reaping 2026-10-25 13:57:17 +01:00
xdCloudy 196bbeef01 feat(libSceLibcInternal): declare 150 PS5 pending exports 2026-10-24 16:35:07 -07:00
xdCloudy b13cf08bf5 docs(libSceLibcInternal): separate round six debt entries 2026-10-25 00:16:19 +01:00
xdCloudy 76b115b8b9 docs(libSceLibcInternal): isolate pending export section 2026-10-25 00:15:30 +01:00
xdCloudy 8bd388fdbf feat(libSceLibcInternal): declare 150 PS5 3.20 exports 2026-10-25 00:13:42 +01:00
xdCloudy c67a618955 feat(libSceLibcInternal): declare 150 additional PS5 exports 2026-10-25 00:10:59 +01:00
xdCloudy 8dcf593ad9 feat(libSceLibcInternal): declare 150 more PS5 exports 2026-10-25 00:08:55 +01:00
Adrià 5d251e6b0e Merge pull request #8994 from hypermoist/feat/libc-filesystem-primitives
feat(libSceLibcInternal): add the std::filesystem file and directory primitives
2026-10-24 14:39:57 +02:00