AnyPS5/core/libs/prx/libkernel/DirectMemory
ps54all 3444ebf5cd fix(libkernel): map non-fixed hints inside a reserved range in place
A map without MAP_FIXED whose hint lies wholly inside a range still
reserved by sceKernelReserveVirtualRange is placed at the hint, as a fixed
map into the reservation would be. Hints outside reservations and ranges
that are partly mapped keep their hint behaviour. The reservation is
checked under the registry mutation, so it cannot be released and its
address reused between the check and the map (MarcZX100, #2687).

Fixes #2687

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A2cY3SsTYnh4u4ZtEr2Adx
2026-10-11 07:10:29 +13:00
..
DirectMemory.cpp fix(libkernel): map non-fixed hints inside a reserved range in place 2026-10-11 07:10:29 +13:00
DirectMemory.hpp fix(libkernel): answer munlock from the guest mapping state on Linux 2026-10-10 22:56:07 +13:00
Export.cpp fix(libkernel): answer munlock from the guest mapping state on Linux 2026-10-10 22:56:07 +13:00
MemoryPool.cpp feat(kernel): apply the memory type in sceKernelMtypeprotect 2026-10-06 14:32:47 +02:00
MemoryPool.hpp fix(libkernel): correct the MemoryPool.hpp include guard 2026-10-06 14:57:51 +02:00
MemoryPoolExport.cpp fix(libkernel): honour MAP_FIXED in sceKernelReserveVirtualRange and sceKernelMemoryPoolReserve 2026-10-01 00:00:22 +02:00
PosixMemory.cpp fix(libkernel): answer munlock from the guest mapping state on Linux 2026-10-10 22:56:07 +13:00