Author: kib Date: Thu Feb 25 13:53:09 2010 New Revision: 204308 URL: http://svn.freebsd.org/changeset/base/204308
Log: Do not restrict the allowed signals that can be specified by number to the list of signals that has symbolic name. It was impossible to send rt signals with kill(1) due to the check. MFC after: 1 week Modified: head/bin/kill/kill.c Modified: head/bin/kill/kill.c ============================================================================== --- head/bin/kill/kill.c Thu Feb 25 13:51:11 2010 (r204307) +++ head/bin/kill/kill.c Thu Feb 25 13:53:09 2010 (r204308) @@ -108,7 +108,7 @@ main(int argc, char *argv[]) numsig = strtol(*argv, &ep, 10); if (!**argv || *ep) errx(1, "illegal signal number: %s", *argv); - if (numsig < 0 || numsig >= sys_nsig) + if (numsig < 0) nosig(*argv); } else nosig(*argv); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"