From 3640812209cb8ecfd455e7e91710427ef8129399 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 27 Dec 2020 20:35:46 -0500 Subject: [PATCH] vunshare: avoid SIGUNUSED --- vunshare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5