Alvaro
5c30b97440
feat(libkernel): implement pthread_barrier_setname_np
2026-10-26 15:37:26 +01:00
Alvaro
a27cecc950
feat(libkernel): implement pthread_rwlock_setname_np
2026-10-26 15:37:26 +01:00
Alvaro
d100cdaf52
feat(libkernel): implement pthread_mutex_setname_np
2026-10-26 15:36:49 +01:00
Henryisdjfunkyho
a80a247c5e
docs(libkernel): cite SCE sleep cancellation evidence
2026-10-26 07:36:10 -07:00
Yunus Shaikh
87b2a04b4f
Merge main into fix/libkernel-sema-handoff
2026-10-26 07:31:51 -07:00
xXPBSXx and Claude Sonnet 5.5
acea44527e
docs(debt): note how a title calls sem_timedwait
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-26 15:29:31 +01:00
Adrià
85f8e11372
Merge pull request #10137 from orezraey/docs/libkernel-sem-timedwait-measured-ps5
...
docs(libkernel): record sem_timedwait timeouts as measured on a PS5
2026-10-26 15:27:46 +01:00
Adrià
fa77c2b4e5
Merge pull request #10121 from xXPBSXx/docs/debt-kernel-ftruncate-title
...
docs(debt): note how a title calls sceKernelFtruncate
2026-10-26 15:21:22 +01:00
orezraey and Claude Opus 5.5
60b9e7f43f
Merge main into fix/libkernel-posix-thread-attr-measured-ps5
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-26 11:07:59 -03:00
Adrià
32b7331c44
Merge pull request #10089 from xXPBSXx/docs/debt-coredump-getstopinfocpu-title
...
docs(debt): note how a title calls the sceCoredump stop-info, attach and user-data functions
2026-10-26 15:01:18 +01:00
Adrià
9656d366be
Merge pull request #9962 from kallmek3nny/feat/libkernel-pthread-cond-setname-np
...
feat(libkernel): add pthread_cond_setname_np
2026-10-26 14:42:29 +01:00
Adrià
1061954c7e
Merge pull request #8520 from qpavyros/codex/app-archive-directories
...
feat(libkernel): enumerate archived app directories
2026-10-26 14:23:39 +01:00
review
044e52a2f0
Merge commit 'refs/review/9669/head' into HEAD
2026-10-26 14:10:41 +01:00
Federico Marras
7b0f1b6809
fix(libkernel): report lookup errors when creating through a trailing slash
2026-10-26 13:33:28 +01:00
orezraey and Claude Opus 5.5
db07b6737d
Merge main into fix/libkernel-sysctl-system-measured-ps5
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-26 09:20:00 -03:00
Yunus Shaikh
33851346ad
Merge main into docs/debt-gaps-bf208
2026-10-26 05:16:02 -07:00
WallisSkill and Claude Opus 5.5
540364a24f
fix(libkernel): queue a raise's APC only for a thread in a libkernel wait
...
A target in host code got the delivery as an APC as well as through the
return breakpoint and the sampling. An APC runs in any alertable wait,
so host code that waits alertably while holding a lock would have run
the guest handler inside that wait with the lock held. The APC is now
queued only while the target is in a libkernel wait (Pthread waitCount),
the point where the handler already ran before; a target elsewhere in
host code takes the delivery when it returns into guest code.
guest_raise_leaves_host_code adds a target in an alertable
WaitForSingleObjectEx: each raise must return in under 500 ms and the
handler must run in the executable after the wait was released. The
earlier behaviour (an APC for every host-code target) fails it.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-26 19:06:33 +07:00
WallisSkill and Claude Opus 5.5
1b9c5feb30
fix(libkernel): deliver a raised exception at the guest return of a thread in host code
...
RaiseOn suspended the target and, while it sat in host code, resampled
it until a 50 ms limit and then redirected it into the handler there.
A handler that waits, as Unity's GC thread-stop handler does, then held
whatever host lock the thread had: in Graveyard Keeper 2 a job worker
stopped inside shader specialization kept the shader registration lock,
another worker blocked on that lock never ran its own stop, and the
load froze with 39 of 40 threads acknowledged (about 1 in 15 loads).
A target in host code is never redirected now. The raise queues the
delivery as an APC (taken when the thread waits alertably), arms a
debug register 0 execute breakpoint at the frame's return address into
guest code (found with the image's own .pdata and RtlVirtualUnwind,
stopping at frames that push a machine frame, guarded against faults),
and hands the target to a host deliverer thread that keeps sampling it.
The first of the three to reach the thread delivers, through one taken
flag per delivery. A target in guest code is still redirected at once;
a target inside NtContinue still makes the raise throw after 1 s.
guest_raise_leaves_host_code checks that a handler never runs in host
code, for a target blocked in WaitForSingleObject and one busy in
MultiByteToWideChar, and that each raise of the blocked one returns in
under 500 ms.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-26 19:06:32 +07:00
Dean
7704178631
Merge pull request #11182 from orezraey/fix/libkernel-soc-sensor-order-measured-ps5
...
fix(libkernel): check the SoC sensor channel before the pointer and set errno as measured on a PS5
2026-10-27 01:02:19 +13:00
Dean
0a1496c148
Merge pull request #11170 from orezraey/fix/libkernel-sysctl-toplevel-measured-ps5
...
fix(libkernel): resolve sysctl top-level names and fail absent top-level MIBs with ENOENT as measured on a PS5
2026-10-27 01:01:03 +13:00
orezraey and Claude Opus 5.5
65172ff414
Merge main into fix/libkernel-sw-version-block-measured-ps5
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-26 08:56:51 -03:00
Adrià
7a01e6a494
Merge pull request #9693 from Gruzzberry/feat/setlogin
...
feat(libkernel_sys): implement setlogin
2026-10-26 12:46:59 +01:00
Adrià Franch
8676daa0fc
merge: sync archive directories with main
2026-10-26 12:02:23 +01:00
Adrià
b82c33ef65
Merge pull request #9732 from simonbronk/fix/libkernel-vector-io-argument-order
...
fix(libkernel): check vector I/O lengths and descriptors before offsets
2026-10-26 11:54:15 +01:00
fogydes
719701a68e
fix(libkernel): follow the measured exec lookup and image checks
2026-10-26 16:19:46 +05:30
xXPBSXx and Claude Sonnet 5.5
89424904f8
docs(debt): shorten the sceCoredumpAttach title note below the entry length limit
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-26 11:33:19 +01:00
xXPBSXx and Claude Sonnet 5.5
233ad28ae6
docs(debt): note how a title calls the sceCoredump stop-info, attach and user-data functions
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-26 11:33:17 +01:00
orezraey and Claude Opus 5.5
45082e0614
Merge main into docs/libkernel-module-process-info-measured-ps5
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-26 07:25:38 -03:00
Adrià
e796ed4e5e
Merge pull request #9632 from EagleBearerYS/feat/libkernel-sys-libthr-names
...
feat(libkernel): add pthread_rwlockattr_settype_np and scePthreadMutexattrSetkind
2026-10-26 11:20:50 +01:00
Adrià Franch and Claude 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
Simone and Claude Opus 5.5
88e86a7de1
fix(libkernel): check vector I/O lengths and descriptors before offsets
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-26 10:45:00 +01:00
fogydes
23dc69a2e3
fix(libkernel): return EBADF for an exec null path as measured on the console
2026-10-26 15:06:01 +05:30
Gruzzberry and Claude Opus 5.5
d49b9b6f25
feat(libkernel_sys): implement setlogin
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-26 09:26:45 +00:00
fogydes
cc46172855
fix(libkernel): keep the host runtime variables in the exec replacement environment
2026-10-26 14:51:38 +05:30
fogydes
d53bb5a1fa
fix(libkernel): align the exec arguments with FreeBSD 11.4
2026-10-26 14:51:38 +05:30
fogydes
f53346a288
feat(libkernel): implement execv, execvp and execve process replacement
2026-10-26 14:51:38 +05:30
Dean
9ab54a34b8
Merge pull request #11251 from orezraey/fix/libkernel-tcp-maxseg-measured-ps5
...
fix(libkernel): refuse TCP_MAXSEG before a connection and raise it to 216 as measured on a PS5
2026-10-26 22:11:42 +13:00
zaryabzip
b8ab1b1a5c
feat(libkernel): implement sceKernelMapNamedSystemFlexibleMemory
2026-10-26 13:59:25 +05:00
orezraey and Claude Opus 5.5
5afe14de63
Merge main into docs/libkernel-sync-timeouts-eventflag-measured-ps5
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-26 05:38:49 -03:00
Dean
4c752cafc9
Merge pull request #10177 from orezraey/fix/libkernel-cond-destroyed-measured-ps5
...
fix(libkernel): mark a destroyed condition variable with 1 and accept destroying a null one, as measured on a PS5
2026-10-26 21:29:48 +13:00
xXPBSXx
d8f584fcce
Merge main ( 204c6747d0) into docs/debt-kernel-ftruncate-title
2026-10-26 08:58:43 +01:00
Dean
27c2794a66
Merge pull request #8726 from ArjenS-LA/fix/windows-directory-link-types
...
fix(libkernel): classify Windows directory links by app0 scope
2026-10-26 20:36:06 +13:00
orezraey and Claude Opus 5.5
59d248674f
Merge main into docs/libkernel-select-measured-ps5
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-26 02:55:33 -03:00
Dean
a0c85ea99b
Merge pull request #10501 from harisibrar1/fix/pselect-pending-signal-eintr
...
fix(libkernel): return EINTR from pselect when its mask unblocks a pending signal
2026-10-26 18:26:20 +13:00
elieh999
e6a11ba6de
fix(libkernel): preserve destroyed rwlock attributes
2026-10-26 07:20:28 +02:00
Dean Galvin
046a4d8244
Merge branch 'main' into fix/libkernel-guest-sigpipe
2026-10-26 18:16:36 +13:00
orezraey and Claude Opus 5.5
3a2638ada6
docs(libkernel): note that pthread_create_name_np shares the long-name handle path
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-26 00:37:49 -03:00
Dean
0ce4b82c2d
Merge pull request #10243 from orezraey/fix/libkernel-rtld-thread-atexit-measured-ps5
...
fix(libkernel): answer the thread atexit references as measured on a PS5
2026-10-26 16:23:13 +13:00
orezraey and Claude Opus 5.5
053ca30db4
docs(libkernel): shorten the socket option bits debt entry under 1000 characters
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-25 23:40:28 -03:00
orezraey and Claude Opus 5.5
85a1bf2b31
Merge main into fix/libkernel-dupfd-cloexec-measured-ps5
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-25 23:27:02 -03:00