Module Name: src Committed By: riz Date: Sat Mar 10 16:49:01 UTC 2012
Modified Files: src/sys/kern [netbsd-6]: kern_exec.c Log Message: Pull up following revision(s) (requested by martin in ticket #107): sys/kern/kern_exec.c: revision 1.345 sys/kern/kern_exec.c: revision 1.346 Make sure the child of a posix_spawn operation is not preempted during the times when it does not have any vm_space. Should fix PR kern/46153. Remove a KPREEMPT_ENABLE() in an error path I overlooked in the previous change - pointed out by Manuel Bouyer. While there, add a KASSERT() to make sure we have preemption enabled in the success case. To generate a diff of this commit: cvs rdiff -u -r1.339.2.2 -r1.339.2.3 src/sys/kern/kern_exec.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.