summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorThomas Gerbet <thomas@gerbet.me>2022-08-01 22:24:53 +0200
committerThomas Gerbet <thomas@gerbet.me>2022-08-14 08:46:18 +0200
commit6dc3ef5e1a99bdb9a1bb0f5136b67fadab92c122 (patch)
tree1fd03b8022cd8eb1f61b666d4adb6231633e1b08 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent605bd637bc8eff20cc0eab220f3c9f190603dae6 (diff)
php8*: disable PCRE2 JIT SEAlloc to avoid crashes
Using PHP with PCRE2 built with the JIT SEAlloc is known to be problematic [0] and it may crashes apps using pcntl to process a workload in parallel like Psalm or PHPCS. Another solution would be to disable `pcre.jit` but this is likely to have a noticeable performance impact. PCRE2 JIT SEAlloc was enabled in order to make possible to use `MemoryDenyWriteExecute=true` in the NixOS Gitea module [1]. Doing something similar for a PHP module is likely to involve more steps as you will also need to disable PHP's JIT. Not building PCRE2 with the JIT SEAlloc is however not really blocking for someone wanting to build an hardened PHP module as they likely will disable `pcre.jit` and make sure `opcache.jit` is disabled. It should also be noted that OpenSUSE did try to enable PCRE2 JIT SEAlloc by default in the past but recently reverted the change [2]. [0] https://bugs.php.net/bug.php?id=78630 [1] https://github.com/NixOS/nixpkgs/commit/c990bd600791a4c7070aa377a93adcdc319c6cdb [2] https://bugzilla.opensuse.org/show_bug.cgi?id=1182864
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions