PERFORCE change 156627 for review

Robert Watson rwatson at FreeBSD.org
Sat Jan 24 16:06:39 PST 2009


http://perforce.freebsd.org/chv.cgi?CH=156627

Change 156627 by rwatson at rwatson_freebsd_capabilities on 2009/01/25 00:05:36

	In two places I lost return() calls when breaking out
	proc_reap() from the remainder of the wait code.  Put
	them back.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/sys/kern/kern_exit.c#10 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/sys/kern/kern_exit.c#10 (text+ko) ====

@@ -745,6 +745,7 @@
 		 */
 		PROC_UNLOCK(p);
 		sx_xunlock(&proctree_lock);
+		return;
 	}
 
 	PROC_LOCK(q);
@@ -768,6 +769,7 @@
 		cv_broadcast(&p->p_pwait);
 		PROC_UNLOCK(t);
 		sx_xunlock(&proctree_lock);
+		return;
 	}
 
 	/*


More information about the p4-projects mailing list