From owner-cvs-src@FreeBSD.ORG Sat Oct 1 08:33:59 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E751816A41F; Sat, 1 Oct 2005 08:33:59 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A59BF43D48; Sat, 1 Oct 2005 08:33:59 +0000 (GMT) (envelope-from truckman@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 j918XxwA034302; Sat, 1 Oct 2005 08:33:59 GMT (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j918XwVj034301; Sat, 1 Oct 2005 08:33:58 GMT (envelope-from truckman) Message-Id: <200510010833.j918XwVj034301@repoman.freebsd.org> From: Don Lewis Date: Sat, 1 Oct 2005 08:33:57 +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/kern kern_exec.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: Sat, 01 Oct 2005 08:34:00 -0000 truckman 2005-10-01 08:33:57 UTC FreeBSD src repository Modified files: sys/kern kern_exec.c Log: Copy new process argument list in do_execve() before grabbing PROC_LOCK to avoid touching pageable memory while holding a mutex. Simplify argument list replacement logic. PR: kern/84935 Submitted by: "Antoine Pelisse" apelisse AT gmail.com (in a different form) MFC after: 3 days Revision Changes Path 1.276 +10 -10 src/sys/kern/kern_exec.c