Adam Goode a...@spicenitz.org added the comment:
Currently there is an issue where allow_execstack implies allow_execmem.
Even though allow_execmem is default to off, allow_execstack is default
to on. If this issue is fixed, or if the administrator sets
allow_execstack to off, ctypes will fail
New submission from Adam Goode a...@spicenitz.org:
On Fedora systems, it is invalid to mmap something with PROT_WRITE and
PROT_EXEC. libffi has been updated to support this, but ctypes has not
been updated to use this new functionality.
Attached is a patch which currently only works if system
Adam Goode a...@spicenitz.org added the comment:
Issue #5504 shows a possibly more future proof way to fix this issue.
--
nosy: +agoode
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3265