sighold(3) doesn't determine whether or not the signal added is valid today (and sigprocmask doesn't verify that either). This fixes that. Thanks, -Garrett
Index: sigcompat.c =================================================================== --- sigcompat.c (revision 210226) +++ sigcompat.c (working copy) @@ -131,7 +131,8 @@ sigset_t set; sigemptyset(&set); - sigaddset(&set, sig); + if (sigaddset(&set, sig) == -1) + return (-1); return (_sigprocmask(SIG_BLOCK, &set, NULL)); } _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"