AnyPS5/core/libs/prx/libkernel
Hussein Kadhim 709c12e133 fix(libkernel): return EPERM or EINVAL when a condition wait gets a mutex the caller does not hold
pthread_cond_wait and pthread_cond_timedwait, and their sce counterparts, threw a
host exception when the mutex was unlocked, locked by another thread, or not yet
initialized, and dereferenced the adaptive static initializer. FreeBSD returns
EPERM for these (EINVAL for a destroyed mutex) before touching the condition.

(cherry picked from commit a78bb8a855ca3b277f128c6a9e52ff3949b9cb80)
2026-10-11 01:53:12 +02:00
..
Aio/src fix(libkernel): preserve EINVAL in AIO completions 2026-10-10 08:42:19 +02:00
AppMetadata fix(kernel): skip the download0 mount when param.json cannot be read 2026-10-08 16:07:18 +02:00
Apr fix(windows): use precise sleeps for sub-millisecond polling 2026-10-10 08:30:28 +00:00
DirectMemory fix(agc): import GPU-mapped guest memory when it is mapped 2026-10-11 00:23:23 +02:00
Equeue fix(libkernel): report AMPR completion events with the AMPR filter 2026-10-07 19:37:40 -04:00
EventFlag/src feat(runtime): timed waits, sync primitive fixes, heap and RTC fixes, unattended-run switches 2026-09-26 19:00:39 -07:00
File Merge pull request #3009 from MarcZX100/fix/libkernel-open-directory-3004 2026-10-11 01:48:46 +02:00
Module fix(libkernel): unregister guest module images in dlclose and propagate failures 2026-10-10 10:23:50 +02:00
Pthread fix(libkernel): return EPERM or EINVAL when a condition wait gets a mutex the caller does not hold 2026-10-11 01:53:12 +02:00
Semaphore fix(libkernel): accept a zero count in sceKernelSignalSema 2026-10-10 16:12:43 +00:00
Socket feat(libkernel): implement dup and dup2 2026-10-10 15:52:25 +04:00
SyncOnAddress/src feat(libkernel): implement sceKernelSyncOnAddressWait8 and sceKernelSyncOnAddressWait16 2026-10-06 04:30:12 +05:30
System/src fix(libkernel): keep the alarm state alive until the process exits 2026-10-10 18:04:35 -05:00
Time feat(libkernel): implement thread cancellation 2026-10-10 11:32:09 +02:00
CMakeLists.txt fix(libkernel): return EPERM or EINVAL when a condition wait gets a mutex the caller does not hold 2026-10-11 01:53:12 +02:00
KernelErrors.hpp refactor(kernel): share SCE kernel error codes through KernelErrors.hpp 2026-09-27 13:32:28 +07:00
Unimplemented.cpp feat(libkernel): implement thread cancellation 2026-10-10 11:32:09 +02:00