From owner-cvs-src@FreeBSD.ORG Fri May 11 01:25:51 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8800816A405; Fri, 11 May 2007 01:25:51 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 5E44C13C43E; Fri, 11 May 2007 01:25:51 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4B1Pp4R068442; Fri, 11 May 2007 01:25:51 GMT (envelope-from kan@repoman.freebsd.org) Received: (from kan@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4B1PpCi068441; Fri, 11 May 2007 01:25:51 GMT (envelope-from kan) Message-Id: <200705110125.l4B1PpCi068441@repoman.freebsd.org> From: Alexander Kabaev Date: Fri, 11 May 2007 01:25:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/linux32 linux32_machdep.c src/sys/i386/linux linux_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2007 01:25:51 -0000 kan 2007-05-11 01:25:51 UTC FreeBSD src repository Modified files: sys/amd64/linux32 linux32_machdep.c sys/i386/linux linux_machdep.c Log: Do not dereference linux_to_bsd_signal[-1] if userland has passed zero as exit signal. GCC 4.2 changes the kernel data segment layout not to have 0 in that memory location. This code ran by luck before and now the luck has run out. Revision Changes Path 1.43 +5 -4 src/sys/amd64/linux32/linux32_machdep.c 1.75 +5 -4 src/sys/i386/linux/linux_machdep.c