Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 2010 13:53:10 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r204308 - head/bin/kill
Message-ID:  <201002251353.o1PDrABt028763@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002251353.o1PDrABt028763>