]> git.wh0rd.org Git - home.git/commitdiff
vunshare: avoid SIGUNUSED
authorMike Frysinger <vapier@gentoo.org>
Mon, 28 Dec 2020 01:35:46 +0000 (20:35 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 28 Dec 2020 01:35:46 +0000 (20:35 -0500)
vunshare.c

index 85801fc10afc406a1020bd2b2af0282d4f20cc3a..96fe7a35b677a3b24c6d7baae6222160591730d6 100644 (file)
@@ -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)