python/hypothesis: update to 6.121.0
[oi-userland.git] / components / network / zabbix / patches / 006-signal.patch
blob208adff8bd86c31784158543c661de28c017daaf
1 diff --git a/src/libs/zbxnix/sighandler.c b/src/libs/zbxnix/sighandler.c
2 index e316b24..fbfa65a 100644
3 --- a/src/libs/zbxnix/sighandler.c
4 +++ b/src/libs/zbxnix/sighandler.c
5 @@ -269,11 +269,14 @@ void zbx_set_common_signal_handlers(zbx_on_exit_t zbx_on_exit_cb_arg)
6 sigaction(SIGTERM, &phan, NULL);
7 sigaction(SIGUSR2, &phan, NULL);
9 +/* We'd quite like fatal errors to create core files that allow analysis. */
10 +#if !defined(__illumos__)
11 phan.sa_sigaction = fatal_signal_handler;
12 sigaction(SIGILL, &phan, NULL);
13 sigaction(SIGFPE, &phan, NULL);
14 sigaction(SIGSEGV, &phan, NULL);
15 sigaction(SIGBUS, &phan, NULL);
16 +#endif
18 phan.sa_sigaction = alarm_signal_handler;
19 sigaction(SIGALRM, &phan, NULL);