diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-11-25 06:46:34 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-11-25 06:46:34 +0100 |
commit | 32b7a7f0af13e5e900188ff7934d86f10fb8b2fc (patch) | |
tree | 74bb179a9fd648e5f3fb233370d3d6254ff7cd2b | |
parent | 790690d08a8ac4537861e7fa592a83e94328390d (diff) |
php 7+: disable pcre.jit as it raise selinux AVC
-rw-r--r-- | php.ini | 2 | ||||
-rw-r--r-- | php.spec | 9 |
2 files changed, 4 insertions, 7 deletions
@@ -963,7 +963,7 @@ cli_server.color = On ;Enables or disables JIT compilation of patterns. This requires the PCRE ;library to be compiled with JIT support. -;pcre.jit=1 +pcre.jit=0 [Pdo] ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off" @@ -1327,12 +1327,6 @@ make -C build-cgi install \ install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/ install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/php.ini -%if %{with_libpcre} -if ! pkg-config libpcre --atleast-version 8.38 ; then - sed -e 's/;pcre.jit=1/pcre.jit=0/' -i $RPM_BUILD_ROOT%{_sysconfdir}/php.ini -fi -%endif - # For third-party packaging: install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/php @@ -1826,6 +1820,9 @@ fi %changelog +- disable pcre.jit everywhere as it raise AVC #1398474 +- sync provided configuration with upstream production defaults + * Wed Nov 9 2016 Remi Collet <remi@fedoraproject.org> 7.1.0-0.13.RC6 - Update to 7.1.0RC6 |