From owner-cvs-all@FreeBSD.ORG Fri Jun 24 17:41:28 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 6451316A41C; Fri, 24 Jun 2005 17:41:28 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52F3643D55; Fri, 24 Jun 2005 17:41:28 +0000 (GMT) (envelope-from jhb@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 j5OHfSXL068881; Fri, 24 Jun 2005 17:41:28 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5OHfSDp068880; Fri, 24 Jun 2005 17:41:28 GMT (envelope-from jhb) Message-Id: <200506241741.j5OHfSDp068880@repoman.freebsd.org> From: John Baldwin Date: Fri, 24 Jun 2005 17:41:28 +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/compat/freebsd32 freebsd32_misc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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, 24 Jun 2005 17:41:28 -0000 jhb 2005-06-24 17:41:28 UTC FreeBSD src repository Modified files: sys/amd64/linux32 linux32_machdep.c sys/compat/freebsd32 freebsd32_misc.c Log: Correct the amount of data to allocate in these local copies of exec_copyin_strings() to catch up to rev 1.266 of kern_exec.c. This fixes panics on amd64 with compat binaries since exec_free_args() was freeing more memory than these functions were allocating and the mismatch could cause memory to be freed out from under other concurrent execs. Approved by: re (scottl) Revision Changes Path 1.10 +2 -1 src/sys/amd64/linux32/linux32_machdep.c 1.36 +2 -1 src/sys/compat/freebsd32/freebsd32_misc.c