Dean
a75292c7b3
Merge pull request #8687 from cadenasynyster/fix/win-loop-errors
...
fix(libkernel): report ELOOP from unlink, mkdir, rmdir, truncate on Windows
2026-10-23 21:08:52 +13:00
Dean
87f3526562
Merge pull request #8617 from Lindamea1/fix/libkernel-mutex-unlock-static-eperm
...
fix(libkernel): fail scePthreadMutexUnlock on a statically initialized mutex with EPERM
2026-10-23 21:08:24 +13:00
Dean
f075f91737
Merge pull request #9314 from DavidSamir/feat/libkernel-sys-ktimer
...
feat(libkernel): implement SIGEV_NONE POSIX timers
2026-10-23 20:34:29 +13:00
Dean
c31f139db4
Merge pull request #8890 from UnhealthyKraken/feat/libkernel-pthread-timedjoin
...
feat(libkernel): implement pthread_timedjoin_np
2026-10-23 20:05:52 +13:00
Dean
c9edaff579
Merge pull request #9104 from Retr0G28/fix/sendfile-enotsock
...
fix(libkernel): return ENOTSOCK from sendfile on a descriptor that is not a socket
2026-10-23 19:25:35 +13:00
Dean
9a030c2d50
Merge pull request #8537 from elieh999/fix/setrlimit-nproc
...
fix(libkernel): store the process resource limit
2026-10-23 16:44:35 +13:00
Dean
96481a6392
Merge pull request #9294 from YossiYad/feat/kernel-sys-module-internal
...
feat(libkernel_sys): implement sceKernelGetModuleInfoInternal and sceKernelGetModuleListInternal
2026-10-23 16:43:43 +13:00
Dean
ee8a7349b5
Merge pull request #9265 from HQasper/claude/project-thread-6o4na3
...
feat(libkernel): implement pthread_rwlock_reltimedrdlock_np and pthread_rwlock_reltimedwrlock_np
2026-10-23 16:05:37 +13:00
Dean Galvin
2f45a312d0
Merge main into fix/setrlimit-nproc
2026-10-23 15:50:49 +13:00
Dean
5c8e38018d
Merge pull request #8986 from MarcZX10/codex/getrlimit-pointer-safety
...
fix(libkernel): check getrlimit output pointers
2026-10-23 15:46:51 +13:00
Dean
00439857cb
Merge pull request #9840 from Dom3005/fix/fstatfs-character-device
...
fix(libkernel): answer fstatfs on a character device as devfs does
2026-10-23 15:33:35 +13:00
Dean Galvin
0da892c52f
Merge main into feat/kernel-sys-module-internal
2026-10-23 14:11:13 +13:00
Dean
39e971a2ea
Merge pull request #8985 from MarcZX10/codex/groups-pointer-safety
...
fix(libkernel): return EFAULT for invalid group pointers
2026-10-23 14:05:39 +13:00
3fcafeb420
fix(libkernel): keep the thread stack lock alive through static destruction
...
#9272 keeps liveStacks and protectedStackPages alive through static
destruction so that a late mprotect from an atexit handler can still
look up guest thread stacks. The mutex guarding them is still a static
std::mutex. libstdc++'s std::mutex has a trivial destructor, so it keeps
working on Linux, but libc++ destroys the pthread mutex, and a later lock
throws "mutex lock failed: Invalid argument": on macOS the exit probe of
guest_memory_lifetime fails at its mapping protection stage. The lock is
now allocated and never destroyed, like the maps.
The same change is part of #7201 and #8658 .
Co-Authored-By: marion909 <[email protected] >
Co-Authored-By: iamthehimansh <[email protected] >
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-22 20:19:51 -04:00
Dean
9d3becbe51
Merge pull request #9272 from milescoviello/fix/thread-stack-maps-outlive-exit
...
fix(libkernel): keep the thread stack maps alive through static destruction
2026-10-23 13:05:31 +13:00
Dean
cd435c58f4
Merge pull request #9227 from MaxLikesCode/fix/kqueue-snapshot-path-before-state
...
fix(libkernel): read a watched file's path before its state on Windows
2026-10-23 13:05:09 +13:00
Adrià
b1496678ac
Merge pull request #9903 from MarcZX10/codex/test-raise-exception-timeout-9610
...
test(libkernel): allow Windows raise exception timing variance
2026-10-23 01:48:53 +02:00
Dean
895f47f4ee
Merge pull request #8866 from ycbuzi/feat/libkernel-sigintr
...
feat(libkernel): export _sigintr and let signal honour it
2026-10-23 12:19:08 +13:00
Dean
8964c12d5c
Merge pull request #9218 from slopggobblercobbler81/feat/libkernel-setresuid-setresgid
...
feat(libkernel): implement setresuid and setresgid
2026-10-23 11:10:12 +13:00
Dom3005 and Claude Opus 5.5
93ab8d3514
fix(libkernel): answer fstatfs on a character device as devfs does
...
FreeBSD keeps every character device on devfs, whose devfs_statfs reports
512-byte blocks, 2 blocks and nothing free. Windows threw for any console,
NUL or the guest random device, and Linux described the host's /dev mount.
A kqueue now returns EINVAL, as getvnode does.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-22 23:06:03 +02:00
MarcZX10
e16e59a109
test(libkernel): allow Windows raise exception timing variance
2026-10-22 21:01:53 +00:00
Dean
fe8b9b5ddd
Merge pull request #8906 from hypermoist/fix/coredump-set-user-data-type
...
fix(libkernel): give sceCoredumpSetUserDataType its signature and result
2026-10-23 09:41:20 +13:00
Adrià
a6fc8a467d
Merge pull request #8797 from xXPBSXx/fix/unlink-rmdir-dot-component
...
fix(libkernel): fail unlink and rmdir of a path that ends in a dot component with EINVAL
2026-10-22 20:40:44 +02:00
Adrià
2e2ea5e697
Merge pull request #9131 from xXPBSXx/fix/fchdir-non-vnode
...
fix(libkernel_sys): fail fchdir on a pipe or socket with EINVAL
2026-10-22 20:32:29 +02:00
Adrià
9b1ed888d1
Merge pull request #9206 from xXPBSXx/fix/lseek-eoverflow
...
fix(libkernel): fail lseek with EOVERFLOW when the new offset exceeds the 64-bit range
2026-10-22 20:16:30 +02:00
Adrià Franch and Claude
093a5ba195
fix(libkernel_sys): reach the fchdir vnode check through a _nid_no_patch export
...
Co-Authored-By: Claude <[email protected] >
2026-10-22 20:15:39 +02:00
xXPBSXx and Claude Sonnet 5.5
e56c6d2ba8
fix(libkernel_sys): keep ENOTDIR from fchdir on a character device
...
The EINVAL for a descriptor without a vnode now applies only to a pipe or socket. A character device is a vnode on FreeBSD, so getvnode succeeds and change_dir fails with ENOTDIR; File::IsCharacterDevice keeps that answer for the host character devices (a tty, NUL or /dev/null) and the guest random device. guest_kernel_sys pins it with /dev/random.
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-22 20:15:26 +02:00
Adrià
29b25aaf4a
Merge pull request #9101 from xXPBSXx/fix/flock-directory-windows
...
fix(libkernel): accept flock on a directory descriptor on Windows
2026-10-22 19:42:03 +02:00
Adrià
c55d7c8e7b
Merge pull request #8670 from xXPBSXx/fix/stream-send-after-reset-epipe
...
fix(libkernel): report EPIPE for a stream send on a connection the peer closed on Windows
2026-10-22 19:40:02 +02:00
Dean
6a6a35fdf5
Merge pull request #7965 from frankea/ps5-measured-1340
...
fix(libs): values measured on a PS5 (firmware 13.40) from inside retail games
2026-10-23 06:18:10 +13:00
xXPBSXx and Claude Sonnet 5.5
ff2b4ba4cc
fix(libkernel): report EPIPE for a stream send on a connection the peer closed on Windows
...
sosend_generic fails a send on a socket that can send no more with EPIPE
before it looks at so_error. Winsock reports the same send as WSAECONNABORTED
or WSAECONNRESET, which reached the guest as ECONNABORTED or ECONNRESET.
A stream send now maps both to EPIPE. The send-after-close checks of
guest_tcp, guest_socket_read_write and guest_socket_pair run on Windows too.
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-22 19:09:29 +02:00
Adrià
8499ea52e5
Merge pull request #8499 from xXPBSXx/fix/sendto-port-zero
...
fix(libkernel): fail sendto to port 0 from an unbound IPv4 datagram socket with EADDRNOTAVAIL
2026-10-22 17:54:00 +02:00
Adrià
093149c5bd
Merge pull request #8483 from xXPBSXx/fix/poll-peer-close-pollin
...
fix(libkernel): report a stream whose peer closed as readable in poll on Windows
2026-10-22 17:44:27 +02:00
Kraken
bf787dc895
chore(libkernel): merge current main for timed join integration
2026-10-22 15:25:35 +01:00
Dean
830ccd121f
Merge pull request #9303 from oneandonlydean/fix/getdents-app0-symlink-type
...
fix(libkernel): report app0 symlinks as their target type in getdirentries
2026-10-23 02:19:24 +13:00
Yossi Yadgar
36d4939b4e
feat(libkernel): fill SceKernelModuleInfoEx by module handle
2026-10-22 15:52:18 +03:00
Dean
d6eafa54d0
Merge pull request #9279 from YossiYad/feat/kernel-sys-thread-defaults
...
feat(libkernel_sys): implement pthread_set_defaultstacksize_np, scePthreadSetDefaultstacksize and scePthreadSetName
2026-10-22 19:16:30 +13:00
Dean
da54c652e3
Merge pull request #9433 from Get-fix/ps4/limbo-libs
...
feat: PS4 NpTrophy, save data v1, NpWebApi offline and Limbo's other imports
2026-10-22 18:00:00 +13:00
Dean
2369fdd77a
Merge pull request #8539 from billythemenace2/fix/kernel-raise-host-code-limit
...
fix(libkernel): retry a failed thread context read during a raise
2026-10-22 17:59:55 +13:00
Dean
ab347d144d
Merge pull request #8534 from ycbuzi/pr/windows-reparse-non-link
...
fix(libkernel): answer Windows reparse points that are not links
2026-10-22 17:22:28 +13:00
Dean
746bdd8041
Merge pull request #8550 from Retr0G28/fix/fopen-directory-read-windows
...
fix(libc): open a directory with fopen in a read mode on Windows
2026-10-22 17:22:22 +13:00
Kang, Harry Zixuan
726edc503b
feat(windows): support MSYS2 GCC runtime builds
2026-10-21 20:29:55 -07:00
hypermist
1f8d4769b4
Merge remote-tracking branch 'upstream/main' into fix/coredump-set-user-data-type
...
# Conflicts:
# core/libs/prx/libkernel/System/src/Coredump.cpp
# core/libs/tests/GuestCoredumpUserData.cpp
2026-10-22 15:54:42 +13:00
Kraken
40c7168f9c
Merge remote-tracking branch 'origin/main' into feat/libkernel-pthread-timedjoin
2026-10-22 03:48:39 +01:00
blu
9897260c6e
Merge branch 'boykopovar:main' into pr/windows-reparse-non-link
2026-10-21 19:08:16 -07:00
blu
c08e752fef
Merge branch 'boykopovar:main' into feat/libkernel-sigintr
2026-10-21 19:03:58 -07:00
frankea
41d551eb60
Merge branch 'main' of https://github.com/boykopovar/AnyPS5 into ps5-measured-1340
...
# Conflicts:
# core/libs/prx/libSceSystemService/Export.cpp
2026-10-21 17:37:31 -04:00
Get-fix
f04d16d702
feat: PS4 NpTrophy, save data v1, NpWebApi offline and Limbo's other imports
...
NpTrophy reads the trophy count and icons from the title's trophy
package (names are encrypted and stay not implemented), PS4 v1 save data
calls wrap the native v2/v3 ones, and NpWebApi library contexts, handles
and push event filters work offline (service filters fail without a
signed-in user). libSceAjm is built from the libSceAjm.native sources
for PS4 titles. Limbo's (CUSA01664) remaining PS4 imports, including the
synchronous PS4 TUS calls and the Facebook dialog calls next to the
existing libraries, are exported as not implemented.
2026-10-22 00:35:09 +03:00
boykopovar
a6dcea9279
Merge pull request #9137 from boykopovar/fix/funcs-abi-debt-2026-10-20
...
fix(libs): libs funcs abi debt 2026 10 20
Corrected signatures or behaviour of 1,702 existing exported functions across 96 libraries. Added 85 typed export wrappers. Unimplemented functions retain NotImplemented_nid_no_patch(__func__).
2026-10-22 00:32:11 +03:00
David
7820a5353a
refactor(libkernel): move the ktimer calls into libkernel
...
The PS5 3.20 export lists have ktimer_* in libkernel as well as
libkernel_sys, and on Windows a libkernel import never reaches
libkernel_sys. The implementation moves unchanged to
libkernel/Time/Ktimer.cpp.
2026-10-21 22:22:16 +01:00