SAKIBUL HUDA ONNAY
7298636d8e
feat(equeue): implement macOS edge watches
2026-11-01 17:13:29 +06:00
Dean Galvin
e32141a3d8
docs(debt): keep the sysarch EFAULT fallback qualification after the merge with main
2026-11-01 23:46:14 +13:00
Dean Galvin
09690aaa78
Merge commit 'd5ec8e6575be37f4340ded9c64c51b1d07076b51' into HEAD
...
# Conflicts:
# core/libs/prx/libkernel/System/src/Process.cpp
# core/libs/tests/write_watch/CMakeLists.txt
# docs/dev/debt/libkernel.md
2026-11-01 23:40:31 +13:00
Dean Galvin
ec3b5d9c46
Merge commit 'a644edf30c501a612d06f17d05ef1b7051350cef' into HEAD
...
# Conflicts:
# docs/dev/debt/libkernel.md
2026-11-01 23:26:11 +13:00
Dean Galvin
019e993acc
Merge commit 'a644edf30c501a612d06f17d05ef1b7051350cef' into HEAD
...
# Conflicts:
# core/libs/prx/libkernel/include/Api.hpp
2026-11-01 23:13:39 +13:00
Yunus Shaikh
8cd23f7997
docs(libkernel): shorten the pthread_getaffinity_np debt entry
2026-11-01 01:35:42 -08:00
DeveshB-1
62e68516f5
fix(libkernel): return EFAULT from sceKernelSendNotificationRequest for invalid memory
2026-11-01 14:39:53 +05:30
Yunus Shaikh
711f3a69f1
Merge main into fix/kernel-getaffinity-console-sizes
...
The conflict with #13908 in docs/dev/debt/libkernel.md keeps both sides: this branch's pthread_getaffinity_np entry, followed by #13908 's sentence on the EFAULT fallback for a mask pointer that cannot be read or written.
2026-11-01 01:01:07 -08:00
Adrià
b2bcf569f7
Merge pull request #13904 from DeveshB-1/fix/memory-protection-query-efault
...
fix(libkernel): return EFAULT from memory protection and stack queries for invalid memory
2026-11-01 09:56:49 +01:00
Adrià
6c0bdd2014
Merge pull request #13908 from DeveshB-1/fix/cpuset-affinity-efault
...
fix(libkernel): return EFAULT from cpuset and pthread affinity for invalid memory
2026-11-01 09:55:39 +01:00
DeveshB-1
b5ffde4a0a
fix(libkernel): return EFAULT from stat for an unwritable buffer
2026-11-01 14:18:08 +05:30
Dean Galvin
c4629cbbe0
Merge main into feat/libkernel-condattr-getclock-null-output
...
# Conflicts:
# docs/dev/debt/libkernel.md
# docs/dev/debt/libkernel_sys.md
2026-11-01 21:13:14 +13:00
Adrià
90cc8d57a5
Merge pull request #13895 from Gruzzberry/fix/chflags-sysflags-eperm
...
fix(libkernel): fail chflags and fchflags with EPERM when a system flag changes
2026-11-01 09:10:40 +01:00
Adrià
c2ba690bfc
Merge pull request #13896 from Gruzzberry/fix/rtprio-jail
...
fix(libkernel): fail rtprio_thread, sched_setscheduler and setpriority with the jail privilege errors
2026-11-01 09:05:34 +01:00
Adrià
eb5b2c13df
Merge pull request #13876 from DeveshB-1/fix/convert-time-efault
...
fix(libkernel): return EFAULT from time conversions for unwritable stores
2026-11-01 08:35:50 +01:00
Adrià and Claude Sonnet 5.5
16135b4656
docs(libkernel): note EFAULT for invalid affinity mask pointers in debt
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-11-01 08:18:50 +01:00
Adrià and Claude Sonnet 5.5
3c5da23f30
fix(libkernel): document partial writes of memory protection queries
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-11-01 08:10:04 +01:00
Adrià and Claude Sonnet 5.5
97ff67b13d
docs(libkernel): restore the measured text in the rtprio_thread and getpriority debt entries
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-11-01 07:56:54 +01:00
Gruzzberry and Claude Sonnet 5.5
5ba892d391
fix(libkernel): fail rtprio_thread, sched_setscheduler and setpriority with the jail privilege errors
...
A title is jailed (agreed on #11216 ). FreeBSD 11.4 prison_priv_check denies
PRIV_SCHED_RTPRIO, PRIV_SCHED_SET and PRIV_SCHED_SETPRIORITY to a jailed caller.
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-11-01 07:56:25 +01:00
ntamas94
249d8cc371
Merge remote-tracking branch 'origin/main' into fix/ps4-dir-blksize
2026-11-01 07:53:32 +01:00
Gruzzberry and Claude Sonnet 5.5
2d1342cf31
fix(libkernel): fail chflags and fchflags with EPERM when a system flag changes
...
FreeBSD 11.4 ufs_setattr refuses a change of any SF_* flag to a caller without PRIV_VFS_SYSFLAGS, which prison_priv_check denies a jailed root without allow.chflags. Under the credential model agreed on #11216 every SF_* flag now fails with EPERM, after the EOPNOTSUPP check for unknown bits, instead of throwing.
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-11-01 07:51:40 +01:00
Adrià
77d536fb38
Merge pull request #13892 from xXPBSXx/fu/q2-asan-enabled-debt
...
docs(debt): list sceKernelIsAddressSanitizerEnabled as a silent stub
2026-11-01 07:47:11 +01:00
Adrià
c38befd221
docs(libkernel): record the EFAULT fallback of the time conversions
2026-11-01 07:36:05 +01:00
Adrià
4547df009b
Merge pull request #13874 from DeveshB-1/fix/sysarch-efault
...
fix(libkernel): return EFAULT from sysarch for invalid memory pointers
2026-11-01 06:47:19 +01:00
Dean Galvin
833af84aec
Merge main into fix/open-create-trailing-slash
2026-11-01 18:45:38 +13:00
Adrià
f377753dd2
Merge pull request #13854 from DeveshB-1/fix/sysctlnametomib-efault
...
fix(libkernel): return EFAULT from sysctlnametomib for invalid memory pointers
2026-11-01 06:05:23 +01:00
Adrià and Claude Sonnet 5.5
e155b84101
docs(libkernel): record sysarch EFAULT for non-null invalid pointers as unmeasured
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-11-01 05:56:01 +01:00
Adrià
2e704e9d2e
Merge pull request #13866 from xXPBSXx/docs/libkernel-munmap-unaligned
...
docs(libkernel): name what FreeBSD and the emulators do for an unaligned sceKernelMunmap length
2026-11-01 05:50:15 +01:00
Adrià
97ca8c8751
Merge pull request #13832 from zaryabzip/fix/pthread-cond-signalto-esrch
...
fix(libkernel): return ESRCH from signalto for a handle that is not a thread
2026-11-01 04:28:11 +01:00
Yunus Shaikh
49a05d8769
Merge main into fix/count-throwing-done-net-kernel
...
The conflict in core/libs/tests/GuestRudpContextLifecycle.cpp with #13799 keeps both changes: this branch's removal of the check that sceRudpActivate throws, and main's sceRudpBind(ctx, 5, 0, 2) call after it.
2026-10-31 18:38:17 -07:00
Dean
90a01f0770
Merge pull request #13824 from zaryabzip/feat/sysutil-notification-with-text
...
feat(libSceSysUtil): send text notifications as firmware 13.42 does
2026-11-01 14:24:52 +13:00
Adrià
666d9b10a5
Merge pull request #13790 from DeveshB-1/fix/allowed-sdk-version-efault
...
fix(libkernel): return EFAULT from sceKernelGetAllowedSdkVersionOnSystem for an unwritable store
2026-11-01 02:23:24 +01:00
Adrià
cd35d6103a
Merge pull request #13798 from pushkarreddyy/fix/app-info-efault
...
fix(libkernel): return EFAULT from sceKernelGetAppInfo for invalid memory pointers
2026-11-01 02:22:03 +01:00
Adrià
cae3edaf11
Merge pull request #13738 from Gruzzberry/fix/poll-efault
...
fix(libkernel): fail poll with EINVAL when nfds exceeds the descriptor limit
2026-11-01 01:40:45 +01:00
Adrià
8bf03654ed
Merge pull request #13769 from Flamefusion/feat/libkernel-has-trinity-mode
...
feat(libkernel): implement sceKernelHasTrinityMode for a base PS5
2026-11-01 00:54:50 +01:00
Adrià
577fe6329e
Merge pull request #13756 from Gruzzberry/fix/recvfrom-sendto-efault
...
fix(libkernel): fail sendto and recvfrom with EFAULT on an unusable pointer
2026-11-01 00:54:10 +01:00
JJenkx and Claude Opus 5.5
6157b85375
fix(libkernel): fail a select with EBADF when its pipe closes during the wait on Windows
...
On Windows, closing a pipe while another thread waited for it in select
terminated the process. The close releases the host handle before the C
runtime descriptor, so in between:
- the readiness query of the pipe failed on the dead handle and threw
'querying pipe descriptor ... failed';
- after that, DescriptorIsOpen still saw the descriptor mapped, select
looked it up again, found no known kind and threw 'is neither a
socket, a pipe, ...'.
QueryPipe now reports a descriptor whose handle is no longer a pipe as
not a pipe instead of throwing, DescriptorIsOpen on Windows also checks
that the mapped handle is still valid, and select answers EBADF for such
a descriptor before throwing for an unknown kind, as FreeBSD 11.4's
kern_select does for a descriptor closed during the wait.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-31 19:19:53 -04:00
Adrià
386833e050
docs(libkernel): keep the full GetAllowedSdkVersionOnSystem debt entry and add the EFAULT note
2026-10-31 23:49:57 +01:00
DeveshB-1
dca2c61801
fix(libkernel): return EFAULT from sceKernelGetAllowedSdkVersionOnSystem for an unwritable store
2026-10-31 23:49:53 +01:00
Adrià
cac9da41e4
Merge pull request #13725 from cocoa55/fix/cond-relock-spin
...
fix(libkernel): spin and yield when a condition variable wait relocks its mutex
2026-10-31 22:20:43 +01:00
slopgobblercobbler
453c14744e
fix(libkernel): enforce FreeBSD 11.4 error precedence and vector copyout in mincore
2026-10-31 19:54:59 +01:00
Rookie
6f6c18b66f
feat(libkernel): implement the umutex, condition variable and rwlock _umtx_op operations as the console does
2026-10-31 19:52:34 +01:00
xXPBSXx and Claude Sonnet 5.5
b857d94cbe
docs(libkernel): link the fpPS4 lines for the sceKernelVirtualQuery size and drop the title count
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-31 17:27:02 +01:00
Yunus Shaikh
6093634622
fix(libkernel): follow the console's set sizes in pthread_getaffinity_np
...
rooklz measured on a PS5 that pthread_getaffinity_np accepts any set of 8 to
16 bytes, zero-fills it past byte 8, and returns ERANGE below 8 bytes and from
24 up. Sets of 17 to 23 bytes are not measured and still throw.
2026-10-31 15:58:18 +00:00
Evrim Cicek
dd77feaf7f
fix(libkernel): report a socket shut for reading in poll and select and wake their waiters
2026-10-31 18:29:27 +03:00
xXPBSXx and Claude Sonnet 5.5
f5a60e25c1
docs(libkernel): name what the emulators do for the size and flags of sceKernelVirtualQuery
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-31 14:49:47 +01:00
pushkarreddyy
d700a92a3a
docs(libkernel): record errno preservation and restore original debt detail for sceKernelGetAppInfo
2026-10-31 18:23:51 +05:30
Mohamed Malek Aifa
499a945e6f
Merge main into fix/sync-on-address-unreadable
2026-10-31 13:26:30 +01:00
xXPBSXx and Claude Sonnet 5.5
b70b9ca8a9
docs(libkernel): say where the sceKernelMunmap length 0 and unmapped results come from
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
2026-10-31 12:54:14 +01:00
Adrià
e23eea90e2
Merge pull request #13660 from w4rc0n/fix/sched-own-pid-main-thread
...
fix(libkernel): select the registered main thread for own-pid scheduling
2026-10-31 12:45:48 +01:00