]> granicus.if.org Git - php/commit
Fix opcache JIT on NetBSD with PaX
authorDavid Carlier <devnexen@gmail.com>
Mon, 3 Aug 2020 19:49:58 +0000 (20:49 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 4 Aug 2020 08:34:31 +0000 (10:34 +0200)
commit362194165a54bc6ab7940db9d70d967990af8e83
tree3fa8ed4bd92a87c49e96e18874b49aae66265dd3
parent4644a3ed8aa90290d106fefa5a249fd523e119cd
Fix opcache JIT on NetBSD with PaX

When PaX mprotect active, opcache JIT test fail as it needs
the PROT_MPROTECT macro to be able to allow further permission
promotion with mprotect.

Closes GH-5929.
ext/opcache/shared_alloc_mmap.c