Date: Wed, 1 Nov 2006 20:55:47 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 108953 for review Message-ID: <200611012055.kA1Ktl1a044182@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=108953 Change 108953 by rdivacky@rdivacky_witten on 2006/11/01 20:55:24 Change runtime check to a KASSERT. Affected files ... .. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#24 edit Differences ... ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#24 (text+ko) ==== @@ -1447,12 +1447,7 @@ /* find the group leader */ p = pfind(em->shared->group_pid); - if (p == NULL) { -#ifdef DEBUG - printf(LMSG("parent process not found.\n")); -#endif - return (0); - } + KASSERT(p != NULL, ("getppid: parent process not found.\n")); pp = p->p_pptr; /* switch to parent */ PROC_LOCK(pp);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611012055.kA1Ktl1a044182>