PERFORCE change 163022 for review

Marko Zec zec at FreeBSD.org
Fri May 29 14:50:21 UTC 2009


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

Change 163022 by zec at zec_tpx32 on 2009/05/29 14:49:17

	Add an XXX note about a temporary check that enforces
	"isolation" between process view between vimages.

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/kern/kern_prot.c#11 edit

Differences ...

==== //depot/projects/vimage-commit2/src/sys/kern/kern_prot.c#11 (text+ko) ====

@@ -1749,7 +1749,7 @@
 	KASSERT(td == curthread, ("%s: td not curthread", __func__));
 	PROC_LOCK_ASSERT(p, MA_OWNED);
 	if (
-#ifdef VIMAGE
+#ifdef VIMAGE /* XXX temporary until struct vimage goes away */
 	    !vi_child_of(TD_TO_VIMAGE(td), P_TO_VIMAGE(p)) &&
 #endif
 	    (error = prison_check(td->td_ucred, p->p_ucred)))


More information about the p4-projects mailing list