Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 1999 02:20:52 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        gallatin@cs.duke.edu (Andrew Gallatin)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: undocumented vfork behaviour?
Message-ID:  <199908270220.TAA23247@usr06.primenet.com>
In-Reply-To: <14277.18939.326895.354112@grasshopper.cs.duke.edu> from "Andrew Gallatin" at Aug 26, 99 10:40:29 am

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm working on getting linux/alpha compatability going in
> FreeBSD/alpha & I stumbled over some odd fork behaviour that I was
> hoping somebody could shed some light on.
> 
> Specifically, when a linux/alpha process forks, the child's return
> value is the parent's pid rather than zero.  I tracked this behaviour
> down to the child's code path in the alpha's cpu_fork():

This is a bug.

For other bugs in vfork(), look at the fact that the vacation
program does not correctly deal with messages.

Before Julian argue's that vacation is in error, note that it used
to work fine until 3.1.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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