teapotd commented on Issue #1112:
Hello, I'd like to work on this issue.
teapotd commented on Issue #1112:
make_execconsumesMmapMutand returns immutableMmap. Current implementation in simplejit always storesOption<MmapMut>inPtrLenand changes underlying memory to read-execute usingregion::protect:In order to make change to
make_execmeaningful we need to storeMmaporMmapMutaccordingly. Perhaps we should splitPtrLenintoPtrLenandPtrLenMut? Also mmap is used only ifselinux-fixfeature is enabled, so the remainingregion::protect's have to stay. I'm not sure if we should make that change, I don't see much benefits.
Last updated: Dec 06 2025 at 06:05 UTC