Bug #80682 [NEW]: opcache doesn't honour pcre.hit option
| From: | remi@php.net | Date: | Thu, 28 Jan 2021 15:19:31 +0000 |
| Subject: | Bug #80682 [NEW]: opcache doesn't honour pcre.hit option | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-231816@lists.php.net to get a copy of this message | ||
From: remi
Operating system:
PHP version: 7.3.26
Package: PCRE related
Bug Type: Bug
Bug description:opcache doesn't honour pcre.hit option
Description:
------------
We have a buildtime option HAVE_PCRE_JIT_SUPPORT and a runtime option
for pcre2 jit usage PCRE_G(jit)
opcache only honour buildtime option, not the runtime one.
This raise AVC on SElinux enabled system
Test script:
---------------
Start php-fpm service
Expected result:
----------------
No AVC
Actual result:
--------------
type=AVC msg=audit(1611840254.138:10844): avc: denied { execmem } for
pid=328163 comm="php-fpm" scontext=system_u:system_r:httpd_t:s0
tcontext=system_u:system_r:httpd_t:s0 tclass=process permissive=1
--
Edit bug report at https://bugs.php.net/bug.php?id=80682&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80682&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80682&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80682&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80682&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80682&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80682&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80682&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80682&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80682&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80682&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80682&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80682&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80682&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80682&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80682&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80682&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80682&r=mysqlcfg