PERFORCE change 104242 for review

Roman Divacky rdivacky at FreeBSD.org
Wed Aug 16 14:57:30 UTC 2006


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

Change 104242 by rdivacky at rdivacky_witten on 2006/08/16 14:56:54

	Return p->p_ptr->p_pid in getppid directly instead of using 2.6 infrastructure.

Affected files ...

.. //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_misc.c#18 edit

Differences ...

==== //depot/projects/soc2006/rdivacky_linuxolator/compat/linux/linux_misc.c#18 (text+ko) ====

@@ -1392,7 +1392,7 @@
 		if (strlen(osrel) >= 3 && osrel[2] == '6')
    			td->td_retval[0] = em->shared->group_pid;
 		else
-		   	td->td_retval[0] = pp->p_pid;
+		   	td->td_retval[0] = p->p_pptr->p_pid;
 	} else
 	   	td->td_retval[0] = pp->p_pid;
 


More information about the p4-projects mailing list