> 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 te...@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message