#18: Jit code buffers need to be allocated via mmap()
-----------------------+----------------------------------------------------
Reporter: Infinoid | Type: bug
Status: new | Priority: normal
Milestone: | Component: none
Version: | Severity: none
Keywords: JIT patch | Lang:
Patch: new | Platform:
-----------------------+----------------------------------------------------
Comment(by santtu):
As a side comment and further rationale on using mmap: selinux in fedora
particularly tends to disallow changing heap or stack to executable (using
mprotect), the only more-or-less guaranteed working way is to use mmap
(with MAP_SHARED -- even MAP_PRIVATE will fail if allow_execmod=0).
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/18#comment:5>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets