From owner-cvs-src-old@FreeBSD.ORG Fri Dec 18 14:27:37 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D2F81065693 for ; Fri, 18 Dec 2009 14:27:37 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6AEF28FC2D for ; Fri, 18 Dec 2009 14:27:37 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nBIERbhI000124 for ; Fri, 18 Dec 2009 14:27:37 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nBIERbrT000123 for cvs-src-old@freebsd.org; Fri, 18 Dec 2009 14:27:37 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <200912181427.nBIERbrT000123@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Fri, 18 Dec 2009 14:27:18 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/linux linux_signal.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 14:27:37 -0000 kib 2009-12-18 14:27:18 UTC FreeBSD src repository Modified files: sys/compat/linux linux_signal.c Log: SVN rev 200667 on 2009-12-18 14:27:18Z by kib Signal 0 is used to check the permission for current process to signal target one. Since r184058, linux_do_tkill() calls tdsignal() instead of kill(), without checking for validity of supplied signal number. Prevent panic when supplied signal is 0 by finishing work after checks. Found and tested by: scf MFC after: 3 days Revision Changes Path 1.68 +1 -1 src/sys/compat/linux/linux_signal.c