summaryrefslogtreecommitdiff
path: root/ext/notes/php_notes.c
diff options
context:
space:
mode:
authorDylan K. Taylor <dktapps@pmmp.io>2021-01-11 22:39:14 +0000
committerNikita Popov <nikita.ppv@gmail.com>2021-01-19 10:25:42 +0100
commit872f302b8dafe5914c18dcf775e584a8dc920f05 (patch)
treeb831a2f0dfef108353e2ae6cdeadfd25e6691bda /ext/notes/php_notes.c
parentfbd8e20ed5c6014b96c6f533e7f94b35789ac2f0 (diff)
downloadphp-git-872f302b8dafe5914c18dcf775e584a8dc920f05.tar.gz
Keep JIT region executable under ZTS
When one thread tries to compile a script, another thread may already be executing JITed code. In this case we can't make the memory non-executable. This violates the W^X principle, but doesn't seem to be avoidable for ZTS builds for now. The same problem does not exist for NTS, as it's a different process executing there, which has it's own memory protection mapping. Closes GH-6595.
Diffstat (limited to 'ext/notes/php_notes.c')
0 files changed, 0 insertions, 0 deletions