Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2009 00:06:37 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 156627 for review
Message-ID:  <200901250006.n0P06b9M002027@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=156627

Change 156627 by rwatson@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;
 	}
 
 	/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901250006.n0P06b9M002027>