From owner-cvs-all@FreeBSD.ORG Fri Feb 25 19:34:11 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76C4016A4CE; Fri, 25 Feb 2005 19:34:11 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E9D243D39; Fri, 25 Feb 2005 19:34:11 +0000 (GMT) (envelope-from sam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1PJYBSk002458; Fri, 25 Feb 2005 19:34:11 GMT (envelope-from sam@repoman.freebsd.org) Received: (from sam@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1PJYBQf002457; Fri, 25 Feb 2005 19:34:11 GMT (envelope-from sam) Message-Id: <200502251934.j1PJYBQf002457@repoman.freebsd.org> From: Sam Leffler Date: Fri, 25 Feb 2005 19:34:11 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/svr4 svr4_signal.c svr4_signal.h svr4_sysvec.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2005 19:34:11 -0000 sam 2005-02-25 19:34:11 UTC FreeBSD src repository Modified files: sys/compat/svr4 svr4_signal.c svr4_signal.h svr4_sysvec.c Log: fixup signal mapping: o change the mapping arrays to have a zero offset rather than base 1; this eliminates lots of signo adjustments and brings the code back inline with the original netbsd code o purge use of SVR4_SIGTBLZ; SVR4_NSIG is the only definition for how big a mapping array is o change the mapping loops to explicitly ignore signal 0 o purge some bogus code from bsd_to_svr4_sigset o adjust svr4_sysentvec to deal with the mapping table change Enticed into fixing by: Coverity Prevent analysis tool Glanced at by: marcel, jhb Revision Changes Path 1.33 +9 -11 src/sys/compat/svr4/svr4_signal.c 1.11 +4 -5 src/sys/compat/svr4/svr4_signal.h 1.41 +2 -2 src/sys/compat/svr4/svr4_sysvec.c