From: Mike Frysinger Date: Mon, 28 Dec 2020 01:35:46 +0000 (-0500) Subject: vunshare: avoid SIGUNUSED X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3640812209cb8ecfd455e7e91710427ef8129399;p=home.git vunshare: avoid SIGUNUSED --- diff --git a/vunshare.c b/vunshare.c index 85801fc..96fe7a3 100644 --- a/vunshare.c +++ b/vunshare.c @@ -194,7 +194,7 @@ static void setup_signal_handler(pid_t pid) child_pid = pid; - for (i = 1; i < SIGUNUSED; ++i) + for (i = 1; i < SIGRTMIN; ++i) if (sigaction(i, &sa, NULL) && errno != EINVAL) fprintf(stderr, "sigaction(%i) failed: %s\n", i, strerror(errno)); for (i = SIGRTMIN; i <= SIGRTMAX; ++i)