overhaul implementation-internal signal protections
[musl] / src / signal / sigaction.c
index 887bbc4..18956c6 100644 (file)
@@ -35,7 +35,7 @@ int __libc_sigaction(int sig, const struct sigaction *sa, struct sigaction *old)
 
 int __sigaction(int sig, const struct sigaction *sa, struct sigaction *old)
 {
-       if (sig-SIGCANCEL < 3U) {
+       if (sig-32U < 3) {
                errno = EINVAL;
                return -1;
        }