Module Name: src Committed By: rmind Date: Mon Apr 30 21:19:58 UTC 2012
Modified Files: src/sys/compat/netbsd32: netbsd32_execve.c src/sys/kern: kern_exec.c src/sys/sys: exec.h spawn.h Log Message: posix_spawn: - Remove copy-pasting in error paths, use execve_free_{vmspace,data}(). - Move some code (both in the init and exit paths) out of the locks. - Slightly simplify do_posix_spawn() callers. - Add few asserts and comments. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/compat/netbsd32/netbsd32_execve.c cvs rdiff -u -r1.350 -r1.351 src/sys/kern/kern_exec.c cvs rdiff -u -r1.135 -r1.136 src/sys/sys/exec.h cvs rdiff -u -r1.2 -r1.3 src/sys/sys/spawn.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.