summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_block_alloc.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-07-23 10:38:23 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-07-29 15:17:32 +0200
commit38f1288b6427fc9e2fa2b5ad9912745ded923ee7 (patch)
tree65df8f768367df986838b6dc72dfd7a33ee59c79 /ext/mysqlnd/mysqlnd_block_alloc.c
parent68fd435ba81e0208d30218b0558cccbf76b85e49 (diff)
downloadphp-git-38f1288b6427fc9e2fa2b5ad9912745ded923ee7.tar.gz
Fix Zend signals unblocking
There are a few parts here: * opcache should not be blocking signals while invoking compile_file, otherwise signals may remain blocked on a compile error. While at it, also protect SHM memory during compile_file. * We should deactivate Zend signals at the end of the request, to make sure that we gracefully recover from a missing unblock and signals don't remain blocked forever. * We don't use a critical section in deactivation, because it should not be necessary. Additionally we want to clean up the signal queue, if it is non-empty. * Enable SIGG(check) in debug builds so we notice issues in the future.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_block_alloc.c')
0 files changed, 0 insertions, 0 deletions