Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 May 2003 06:52:18 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Igor Sysoev <is@rambler-co.ru>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: rfork(RFPROC|RFMEM)
Message-ID:  <3EB66C92.304110A4@mindspring.com>
References:  <Pine.BSF.4.21.0305051237410.62854-100000@is>

next in thread | previous in thread | raw e-mail | index | archive | help
Igor Sysoev wrote:
> As stated in http://www.freebsd.org/cgi/query-pr.cgi?pr=50923
> rfork(RFPROC|RFMEM) in 4.8-STABLE and 5.0-CURRENT requires RFTHREAD flag
> but it is not even mentioned in man page.

This makes the stack glue implicit.  You can also use explicit
stack glue.  Most people using the RFPROC flag use explicit
stack glue, i.e. we carry arounbd our own assembly language
trampoline code for stack setup that John Dyson originally
wrote.  I think wanting RFPROC to act like Linux's "clone"
system call is probably wrong.

-- Terry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EB66C92.304110A4>