Date: Sat, 22 Apr 2000 20:30:39 +0100 From: "Marco van de Voort" <marcov@stack.nl> To: hackers@freebsd.org Subject: Clone in userland Message-ID: <20000422183054.D53EB2E802@hermes.tue.nl>
next in thread | raw e-mail | index | archive | help
I have a Linux library based on the Clone() call which I want to port to native FreeBSD. I checked the linux emulation, and it seems to do some internal kernel stuff. Is this possible to emulate in userland? p2 = pfind(p->p_retval[0]); /* MvdV: check rfork's return value, and if clone, then load process info? */ if (p2 == 0) return ESRCH; p2->p_sigparent = exit_signal; p2->p_md.md_regs->tf_esp = (unsigned int)args->stack; Marco van de Voort (MarcoV@Stack.nl) <http://www.stack.nl/~marcov/xtdlib.htm> 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?20000422183054.D53EB2E802>