aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libutil/util.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libutil/util.c b/src/libutil/util.c
index bc723464f..b0fe7e766 100644
--- a/src/libutil/util.c
+++ b/src/libutil/util.c
@@ -669,7 +669,12 @@ rspamd_signals_init (struct sigaction *signals, void (*sig_handler)(gint))
sigaddset (&signals->sa_mask, SIGUSR1);
sigaddset (&signals->sa_mask, SIGUSR2);
sigaddset (&signals->sa_mask, SIGALRM);
-
+#ifdef SIGPOLL
+ sigaddset (&signals->sa_mask, SIGPOLL);
+#endif
+#ifdef SIGIO
+ sigaddset (&signals->sa_mask, SIGIO);
+#endif
#ifdef HAVE_SA_SIGINFO
signals->sa_flags = SA_SIGINFO;