Subject: Re: rfork(2) needed for making Wine work
To: Jason R Thorpe <>
From: Christoph Hellwig <>
List: tech-kern
Date: 05/17/2001 18:17:40
On Thu, May 17, 2001 at 08:30:09AM -0700, Jason R Thorpe wrote:
> On Thu, May 17, 2001 at 10:15:32PM +0900, Bang Jun-Young wrote:
>  > I'm on the final stage of getting Wine working on NetBSD: thread.
>  > For now, I have no idea how to implement native thread support,
>  > so I am considering importing rfork(2) from FreeBSD. 
>  > 
>  > Any idea or comments would be welcome,
> Please do not import rfork(2) from FreeBSD.  The rfork(2) interface is
> pretty much broken (the name is poorly chosen -- rfork(2) is from Plan9,
> and it doens't implement the original Plan9 semantics).
> If you're going to do anything like this, please add a __clone(2) a'la
> Linux.

The Linux kernel does _not_ have a __clone syscall - that's a libc wrapper
for clone(2).  I have to admit that the manpage is rather confusing, though...


Whip me.  Beat me.  Make me maintain AIX.