Commit Graph
114 Commits
Author SHA1 Message Date
Dean 5f0857ee2e Merge pull request #12949 from fogydes/fix/spawn-null-process-id
fix(libSceLibcInternal): allow null process ID in posix_spawn
2026-11-01 19:35:53 +13:00
Dean a5d0655bee Merge pull request #14240 from miguelcoxcaballero/feat/libc-internal-aligned-array-new
feat(libSceLibcInternal): implement the aligned nothrow array new and the aligned array delete
2026-11-01 17:37:39 +13:00
Adrià b6bd6e7bf7 Merge pull request #13840 from CodingBreadd/feat/libcinternal-runtime-names
feat(libSceLibcInternal): name 53 runtime helper exports from their NIDs
2026-11-01 04:28:19 +01: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
DariusandClaude Opus 5.5 ed98d46807 feat(libSceLibcInternal): name 53 runtime helper exports from their NIDs
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 10:52:40 +02: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
Dean 99f7b51d2b Merge pull request #12541 from oneandonlydean/licence-notices-ported-code
docs(libc): add upstream licence notices to ported math and siglist code
2026-10-31 00:50:17 +13: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 0173ef982e refactor(libSceLibcInternal): avoid build file conflict 2026-10-30 02:39:09 +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
fogydes 79ed9ebef1 fix(libSceLibcInternal): allow null process ID in posix_spawn 2026-10-29 21:41:05 +05:30
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
Dean Galvin bb4132a403 docs(libc): add upstream licence notices to ported math and siglist code
Add the original FreeBSD/msun copyright and licence text, with the upstream file and revision, at the top of Math.cpp and SignalList.cpp. Header comments only; no code change.
2026-10-29 07:45:51 +13: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 d3d7ae0ae2 fix(libSceLibcInternal): preserve combined POSIX spawn flags 2026-10-27 14:48:12 +05:30
Santhosh Kumar e8db1c1648 test(libSceLibcInternal): observe combined spawn flags in a dedicated fixture 2026-10-27 14:45:53 +05:30
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 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 63491d5285 merge: main into salvage/libc-internal-9532 2026-10-27 19:11:12 +13:00
Dean Galvin a957c2621e fix(libSceLibcInternal): close the add_library call and add the round six stubs with target_sources
The source list edit dropped the closing parenthesis, so the next line
became part of the call.
2026-10-27 19:10:55 +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
Adrià FranchandClaude Sonnet 5.5 654eadd7f5 merge: sync archive directories with main
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-26 10:50:37 +01:00
qpavyros 6105be4431 merge: sync archive directories with main 2026-10-26 01:10:12 +02:00
MarcZX10 d824ec2264 test(libSceLibcInternal): let the spawn test's child die from SIGBUS in an ASan build 2026-10-25 22:19:02 +00:00
fogydes 19a3d60aed fix(libSceLibcInternal): declare _NSGetExecutablePath on Apple hosts 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 8b6fdd893d fix(libc): register pending exports by NID 2026-10-24 16:35:07 -07:00
xdCloudy 196bbeef01 feat(libSceLibcInternal): declare 150 PS5 pending exports 2026-10-24 16:35:07 -07:00
xdCloudy d3c6cbda00 fix(libSceLibcInternal): name libc ABI alias accurately 2026-10-25 00:30:49 +01:00
xdCloudy edb43f0b59 fix(libSceLibcInternal): register round six NIDs 2026-10-25 00:21:17 +01:00
xdCloudy 1447bd0eaa fix(libSceLibcInternal): register round four NIDs 2026-10-25 00:21:06 +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