From owner-cvs-all@FreeBSD.ORG Mon Feb 6 22:06:54 2006 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 EDD4C16A420; Mon, 6 Feb 2006 22:06:54 +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 B439C43D49; Mon, 6 Feb 2006 22:06:54 +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 k16M6sgg003898; Mon, 6 Feb 2006 22:06:54 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k16M6sTY003897; Mon, 6 Feb 2006 22:06:54 GMT (envelope-from jhb) Message-Id: <200602062206.k16M6sTY003897@repoman.freebsd.org> From: John Baldwin Date: Mon, 6 Feb 2006 22:06:54 +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/alpha/linux linux_machdep.c src/sys/alpha/osf1 osf1_misc.c src/sys/amd64/linux32 linux32_machdep.c src/sys/compat/freebsd32 freebsd32_misc.c src/sys/compat/svr4 svr4_misc.c src/sys/i386/ibcs2 ibcs2_misc.c src/sys/i386/linux ... 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: Mon, 06 Feb 2006 22:06:55 -0000 jhb 2006-02-06 22:06:54 UTC FreeBSD src repository Modified files: sys/alpha/linux linux_machdep.c sys/alpha/osf1 osf1_misc.c sys/amd64/linux32 linux32_machdep.c sys/compat/freebsd32 freebsd32_misc.c sys/compat/svr4 svr4_misc.c sys/i386/ibcs2 ibcs2_misc.c sys/i386/linux linux_machdep.c sys/kern kern_exec.c kern_kse.c sys/sys imgact.h Log: - Always call exec_free_args() in kern_execve() instead of doing it in all the callers if the exec either succeeds or fails early. - Move the code to call exit1() if the exec fails after the vmspace is gone to the bottom of kern_execve() to cut down on some code duplication. Revision Changes Path 1.37 +0 -1 src/sys/alpha/linux/linux_machdep.c 1.59 +0 -1 src/sys/alpha/osf1/osf1_misc.c 1.11 +0 -1 src/sys/amd64/linux32/linux32_machdep.c 1.50 +0 -1 src/sys/compat/freebsd32/freebsd32_misc.c 1.84 +0 -2 src/sys/compat/svr4/svr4_misc.c 1.62 +0 -2 src/sys/i386/ibcs2/ibcs2_misc.c 1.50 +0 -1 src/sys/i386/linux/linux_machdep.c 1.289 +9 -22 src/sys/kern/kern_exec.c 1.221 +0 -1 src/sys/kern/kern_kse.c 1.39 +0 -1 src/sys/sys/imgact.h