From 31dffd6441ba80ea998cedd10f9138198298e9fc Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 24 Dec 2024 13:47:30 -0500 Subject: sighook: Add some missing fatal signals --- src/sighook.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'src/sighook.c') diff --git a/src/sighook.c b/src/sighook.c index 6269614..b3ac711 100644 --- a/src/sighook.c +++ b/src/sighook.c @@ -342,22 +342,31 @@ static const int FATAL_SIGNALS[] = { SIGHUP, SIGILL, SIGINT, +#ifdef SIGIO + SIGIO, +#endif SIGPIPE, - SIGQUIT, - SIGSEGV, - SIGTERM, - SIGUSR1, - SIGUSR2, #ifdef SIGPOLL SIGPOLL, #endif #ifdef SIGPROF SIGPROF, #endif +#ifdef SIGPWR + SIGPWR, +#endif + SIGQUIT, + SIGSEGV, +#ifdef SIGSTKFLT + SIGSTKFLT, +#endif #ifdef SIGSYS SIGSYS, #endif + SIGTERM, SIGTRAP, + SIGUSR1, + SIGUSR2, #ifdef SIGVTALRM SIGVTALRM, #endif -- cgit v1.2.3