Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2006 14:25:46 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 107888 for review
Message-ID:  <200610141425.k9EEPkOl022243@repoman.freebsd.org>

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

Change 107888 by rdivacky@rdivacky_witten on 2006/10/14 14:25:30

	KASSERT that we found the emuldata

Affected files ...

.. //depot/projects/linuxolator/src/sys/compat/linux/linux_emul.c#8 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/compat/linux/linux_emul.c#8 (text+ko) ====

@@ -313,6 +313,7 @@
 	/* do this only if the parent is exiting */
 	if (p->p_pptr->p_flag & P_WEXIT) {
    	   	em = em_find(p, EMUL_UNLOCKED);
+		KASSERT(em != NULL, ("linux_reparent: emuldata not found.\n"));
 		if (em->pdeath_signal != 0)
    		   	psignal(p, em->pdeath_signal);
 		EMUL_UNLOCK(&emul_lock);



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