From owner-svn-src-all@FreeBSD.ORG Mon Jul 12 10:18:10 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2DD0106566C; Mon, 12 Jul 2010 10:18:10 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C2D408FC17; Mon, 12 Jul 2010 10:18:10 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o6CAIAum066865; Mon, 12 Jul 2010 10:18:10 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o6CAIAwQ066863; Mon, 12 Jul 2010 10:18:10 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201007121018.o6CAIAwQ066863@svn.freebsd.org> From: Konstantin Belousov Date: Mon, 12 Jul 2010 10:18:10 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209934 - head/sys/ddb X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2010 10:18:11 -0000 Author: kib Date: Mon Jul 12 10:18:10 2010 New Revision: 209934 URL: http://svn.freebsd.org/changeset/base/209934 Log: One more use for _SIG_VALID. Submitted by: Garrett Cooper MFC after: 1 week Modified: head/sys/ddb/db_command.c Modified: head/sys/ddb/db_command.c ============================================================================== --- head/sys/ddb/db_command.c Mon Jul 12 10:15:33 2010 (r209933) +++ head/sys/ddb/db_command.c Mon Jul 12 10:18:10 2010 (r209934) @@ -633,7 +633,7 @@ db_kill(dummy1, dummy2, dummy3, dummy4) if (!db_expression(&pid)) DB_ERROR(("Missing process ID\n")); db_skip_to_eol(); - if (sig < 1 || sig > _SIG_MAXSIG) + if (!_SIG_VALID(sig)) DB_ERROR(("Signal number out of range\n")); /*