Date: Mon, 6 Feb 2006 22:06:54 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org 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 ... Message-ID: <200602062206.k16M6sTY003897@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602062206.k16M6sTY003897>