AnyPS5/core/libs/prx/libkernel/DirectMemory
bilel 72b3a2abdd fix(libkernel): keep shared-memory identity and guest permissions consistent
Pin the descriptor before mmap validation so guest descriptor reuse cannot
redirect the eventual mapping. Apply the canonical guest creation mask when
creating named objects, distinguishing new objects before setting permissions
without changing the host process umask. Add regressions that reproduce both
failures and document the remaining host requirements.

Constraint: Guest umask must not mutate the process-wide host mask
Confidence: high
Scope-risk: narrow
Tested: 17 targeted Linux runtime tests passed with zero skips; conventions and diff checks; Clang analyzer on three changed production translation units
Not-tested: Full project build and suite, Windows runtime, console hardware and titles
2026-10-11 23:40:46 +02:00
..
DirectMemory.cpp feat(libkernel): make Linux shared memory usable through guest APIs (#3923) 2026-10-11 23:40:45 +02:00
DirectMemory.hpp feat(libkernel): make Linux shared memory usable through guest APIs (#3923) 2026-10-11 23:40:45 +02:00
Export.cpp fix(libkernel): report the largest free direct memory block from sceKernelAvailableDirectMemorySize 2026-10-11 00:58:28 +02:00
MemoryPool.cpp fix(libkernel): report the largest free direct memory block from sceKernelAvailableDirectMemorySize 2026-10-11 00:58:28 +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): keep shared-memory identity and guest permissions consistent 2026-10-11 23:40:46 +02:00