AnyPS5/core/libs/prx/libkernel
fdfawef324 9d96752fcd fix(libkernel): let munmap succeed over a range with nothing mapped
munmap and sceKernelMunmap over a range in which no page is mapped
failed: munmap returned EINVAL and sceKernelMunmap let the registry's
exception escape. Both now return 0. The console returns 0 for
sceKernelMunmap of a range it just unmapped and of a never-mapped
address, and EINVAL only for a zero length, as measured by prosper's
console oracle (kernelx.golden.tsv, kx_fmem_unmap_again,
kx_fmem_munmap_unmapped).

The other half of #3196, a range with an unmapped page in the middle, is
already fixed on main by 04ed61957; the test covers both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 21:59:32 +05:30
..
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 Merge pull request #2789 from tototomate123/fix/hfw-apr-split 2026-10-11 09:32:21 +02:00
DirectMemory fix(libkernel): let munmap succeed over a range with nothing mapped 2026-10-11 21:59:32 +05:30
Equeue fix(libkernel): report a level-triggered equeue event once per wait 2026-10-11 11:28:34 +00: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 #3428 from MarcZX100/codex/fix-libkernel-open-empty-path-3308 2026-10-11 13:55:48 +02:00
Module fix(loader): support main-module sceKernelDlsym 2026-10-11 11:50:44 +02:00
Pthread Merge pull request #3484 from AchrafReyani/feat/libkernel-pthread-mutexattr-gettype 2026-10-11 13:53:23 +02:00
Semaphore fix(libkernel): accept a zero count in sceKernelSignalSema 2026-10-10 16:12:43 +00:00
Socket Merge pull request #3487 from DariusHQ/feat/libkernel-underscore-ioctl 2026-10-11 13:54:41 +02:00
SyncOnAddress/src fix(libkernel): throw on a size-0 _umtx_op timeout that is not a valid timespec 2026-10-11 11:13:33 +02:00
System feat(libkernel): implement sigsetjmp 2026-10-11 11:23:10 +00:00
Time fix(libkernel): let exception delivery interrupt timed mutex and rwlock waits on Windows 2026-10-11 11:20:40 +02:00
CMakeLists.txt Merge pull request #3430 from AchrafReyani/feat/libkernel-sigtimedwait 2026-10-11 12:36:53 +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