summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-12-24 13:47:30 -0500
committerTavian Barnes <tavianator@tavianator.com>2024-12-24 13:47:30 -0500
commit31dffd6441ba80ea998cedd10f9138198298e9fc (patch)
treea6aefce4102f47d7b6e0abd87abef10701d6eab9
parent1227f793a3903adede083aba7cf3dcf0e4fba02d (diff)
downloadbfs-31dffd6441ba80ea998cedd10f9138198298e9fc.tar.xz
sighook: Add some missing fatal signalsHEADmain
-rw-r--r--src/sighook.c19
1 files changed, 14 insertions, 5 deletions
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