orezraey and Claude Opus 5.5
bc23ed7853
fix(libkernel): follow the thread priority ranges and POSIX attribute errors measured on a PS5
...
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-22 21:12:32 -03: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
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
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
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
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
Adrià
fe93440dfd
Merge pull request #8502 from xXPBSXx/fix/pthread-barrier-count-limit
...
fix(libkernel): reject a pthread barrier count above INT_MAX like libthr
2026-10-21 21:02:25 +02:00
Adrià
3d29fe0825
Merge pull request #8487 from xXPBSXx/fix/nanosleep-clamp-long-requests
...
fix(libkernel): clamp long nanosleep requests like FreeBSD instead of wrapping them
2026-10-21 20:58:12 +02:00
boykopovar
8b75d497c0
fix(kernel): reject unimplemented internal pool statistics
2026-10-21 21:56:05 +03:00
xXPBSXx and Claude Sonnet 5.5
00bb8aa409
fix(libkernel): fail lseek with EOVERFLOW when the new offset exceeds the 64-bit range
...
FreeBSD 11.4's vn_seek fails SEEK_CUR and SEEK_END with EOVERFLOW when the base offset plus a positive offset does not fit in an off_t, and with EINVAL only when the result is negative. The host lseek reports EINVAL for the overflow, so the guest saw EINVAL. When the host call fails with EINVAL for a positive offset on SEEK_CUR or SEEK_END, the base position is read back and the call fails with EOVERFLOW if the sum would overflow; the file position is left unchanged.
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-21 20:56:02 +02:00
boykopovar
f4447aa252
fix(kernel): restore coredump registration and file flag validation
2026-10-21 21:55:33 +03:00
boykopovar
b9fb0d2897
fix(kernel): restore signed coredump attachment lengths
2026-10-21 21:55:32 +03:00
boykopovar
ee76c0cd98
fix(kernel): restore coredump buffer validation and data type argument
2026-10-21 21:55:30 +03:00
Adrià
eaff87674c
Merge pull request #8492 from xXPBSXx/fix/recv-after-shutdown-and-empty
...
fix(libkernel): answer a receive after SHUT_RD or with no buffer without the host
2026-10-21 20:39:37 +02:00
Adrià
ee67ebcf2d
Merge pull request #8663 from xXPBSXx/fix/transfer-descriptor-first-fb
...
fix(libkernel): look up the descriptor of read, write, pread and pwrite before their buffer and offset
2026-10-21 20:35:28 +02:00
Adrià
ea241c01b3
Merge pull request #8504 from xXPBSXx/fix/pthread-cond-timedwait-negative-seconds
...
fix(libkernel): reject a negative cond timedwait deadline like libthr
2026-10-21 20:29:21 +02:00
Adrià
b00235dda0
Merge pull request #8439 from xXPBSXx/fix/mmap-anonymous-flags
...
fix(libkernel): accept MAP_ANON without MAP_PRIVATE and refuse MAP_SHARED with MAP_PRIVATE
2026-10-21 20:16:10 +02:00
Adrià
b4d10586ef
Merge pull request #8411 from xXPBSXx/fix/sigaction-reject-undefined-flags
...
fix(libkernel): reject undefined sa_flags in sigaction with EINVAL
2026-10-21 20:10:35 +02:00
Adrià
8e72738df6
Merge pull request #8437 from xXPBSXx/fix/mprotect-ignore-undefined-bits
...
fix(libkernel): drop undefined protection bits in mprotect
2026-10-21 20:08:57 +02:00
Adrià
e09b022ea9
Merge pull request #8407 from xXPBSXx/fix/sigprocmask-never-block-kill-stop
...
fix(libkernel): never block SIGKILL and SIGSTOP in sigprocmask and sigsuspend
2026-10-21 20:08:51 +02:00
Adrià
0b117a8bfc
Merge pull request #8392 from xXPBSXx/fix/socket-argument-order-fb
...
fix(libkernel): check socket address arguments before the descriptor
2026-10-21 20:05:37 +02:00
xXPBSXx and Claude Sonnet 5.5
c02a5d8034
fix(libkernel): keep the receive-after-SHUT_RD answer on Windows only
...
On Linux the host keeps data that was buffered before shutdown(SHUT_RD) and
guest_socket_pair expects to read it, so the shortcut that answers 0 for any
receive after SHUT_RD broke that test there. Limit the shortcut to Windows,
where the host cannot answer it, and run the post-shutdown receives of
guest_tcp on Windows only.
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-21 20:01:18 +02:00
xXPBSXx and Claude Sonnet 5.5
ba8b881fa6
fix(libkernel): answer a receive after SHUT_RD or with no buffer without the host
...
soreceive_generic returns 0 for a socket whose receive side is shut and for a
zero-length receive on a connected stream socket (ENOTCONN when it is not
connected), without waiting. Winsock fails the first with WSAESHUTDOWN, which
reached the guest as EPIPE, and blocks the second until data arrives. recv and
recvfrom now answer both themselves.
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-21 20:01:18 +02:00
Adrià
606297f34f
Merge pull request #8474 from xXPBSXx/fix/recv-msg-waitall
...
feat(libkernel): accept MSG_WAITALL in recv, recvfrom and recvmsg on a stream socket
2026-10-21 20:00:45 +02:00