[pcre-dev] [Bug 2455] New: pcre.jit don't work in PHP and ng…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
New-Topics: [pcre-dev] [Bug 2455] pcre.jit don't work in PHP and nginx with --enable-jit-sealloc and noexec flag in /tmp and /var/tmp
Subject: [pcre-dev] [Bug 2455] New: pcre.jit don't work in PHP and nginx with --enable-jit-sealloc and noexec flag in /tmp and /var/tmp
https://bugs.exim.org/show_bug.cgi?id=2455

            Bug ID: 2455
           Summary: pcre.jit don't work in PHP and nginx with
                    --enable-jit-sealloc and noexec flag in /tmp and
                    /var/tmp
           Product: PCRE
           Version: 10.33 (PCRE2)
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: ilya@???
                CC: pcre-dev@???


In PHP and nginx (probably in all other applications) don't work pcre.jit if
pcre compile with --enable-jit-sealloc and /tmp and /var/tmp mount with noexec
flag. (old server security practice).
Details are set out in this report, and there are also links to strace.

https://bugs.php.net/bug.php?id=78630

I believe that /tmp and /var/tmp directories are not intended for creating and
executing JIT code, but for this the (/var)/run directory is intended and just
in time code should be executed in it.

--
You are receiving this mail because:
You are on the CC list for the bug.