summaryrefslogtreecommitdiff
path: root/ext/json/json.c
diff options
context:
space:
mode:
authorDavid Walker <dave@mudsite.com>2016-12-19 14:29:18 -0700
committerNikita Popov <nikic@php.net>2016-12-29 21:18:22 +0100
commitb09c2f899ebc14029d0936d770cced10b607f84b (patch)
treee993d4f6b21c1d929bc14278c8a9e9452cceb7e1 /ext/json/json.c
parent7746ed9d5f2e195e26b6e468c303dc1e86af12af (diff)
downloadphp-git-b09c2f899ebc14029d0936d770cced10b607f84b.tar.gz
Fixed bug #73783
Bug #73783 raises an issue with signal handling when using SIG_IGN. With PHP7.1 ZEND_SIGNALS is defaulted to on, which will for all signals set the handler as zend_signal_handler_defer. This is problematic for syscalls like sleep(), which will only return when the requisite number of seconds have elapsed, or, a non-ignored signal is raised. In this case we want to SIG_IGN SIGCHLD, however, SIG_IGN is only stored in the SIGG(handlers) array, and the actual system level handler is defined. This prevents proper signal ignoring when requeted.
Diffstat (limited to 'ext/json/json.c')
0 files changed, 0 insertions, 0 deletions