Date: Thu, 4 Mar 2010 07:24:09 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r204701 - stable/7/bin/kill Message-ID: <201003040724.o247O99i004495@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Thu Mar 4 07:24:09 2010 New Revision: 204701 URL: http://svn.freebsd.org/changeset/base/204701 Log: MFC r204308: 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. Modified: stable/7/bin/kill/kill.c Directory Properties: stable/7/bin/kill/ (props changed) Modified: stable/7/bin/kill/kill.c ============================================================================== --- stable/7/bin/kill/kill.c Thu Mar 4 07:12:44 2010 (r204700) +++ stable/7/bin/kill/kill.c Thu Mar 4 07:24:09 2010 (r204701) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003040724.o247O99i004495>