Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2006 12:55:12 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 103241 for review
Message-ID:  <200608051255.k75CtCXr065717@repoman.freebsd.org>

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

Change 103241 by rdivacky@rdivacky_witten on 2006/08/05 12:54:11

	Copy out the pid as linux understands it, ie. group_pid in our world. This enables
	us to actually play a file in realplay. The realplay coredumps while playing thought.

Affected files ...

.. //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux_machdep.c#31 edit

Differences ...

==== //depot/projects/soc2006/rdivacky_linuxolator/i386/linux/linux_machdep.c#31 (text+ko) ====

@@ -432,7 +432,7 @@
 		   	EMUL_RUNLOCK(&emul_lock);
 			return (EINVAL);
 		}
-		error = copyout(&p2->p_pid, args->parent_tidptr, sizeof(td->td_proc->p_pid));
+		error = copyout(&em->shared->group_pid, args->parent_tidptr, sizeof(td->td_proc->p_pid));
 		if (error) {
 		   	EMUL_RUNLOCK(&emul_lock);
 			return (error);



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