rfork(RFPROC|RFMEM)

Terry Lambert tlambert2 at mindspring.com
Mon May 5 06:53:43 PDT 2003


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


More information about the freebsd-arch mailing list