rfork.2 (141846) | rfork.2 (169550) |
---|---|
1.\" 2.\" This manual page is taken directly from Plan9, and modified to 3.\" describe the actual BSD implementation. Permission for 4.\" use of this page comes from Rob Pike <rob@plan9.att.com>. 5.\" | 1.\" 2.\" This manual page is taken directly from Plan9, and modified to 3.\" describe the actual BSD implementation. Permission for 4.\" use of this page comes from Rob Pike <rob@plan9.att.com>. 5.\" |
6.\" $FreeBSD: head/lib/libc/sys/rfork.2 141846 2005-02-13 22:25:33Z ru $ | 6.\" $FreeBSD: head/lib/libc/sys/rfork.2 169550 2007-05-14 13:58:54Z pav $ |
7.\" | 7.\" |
8.Dd January 31, 2003 | 8.Dd May 14, 2007 |
9.Dt RFORK 2 10.Os 11.Sh NAME 12.Nm rfork 13.Nd manipulate process resources 14.Sh LIBRARY 15.Lb libc 16.Sh SYNOPSIS --- 32 unchanged lines hidden (view full) --- 49If set, the invoker's file descriptor table (see 50.Xr intro 2 ) 51is copied; otherwise the two processes share a 52single table. 53.It Dv RFCFDG 54If set, the new process starts with a clean file descriptor table. 55Is mutually exclusive with 56.Dv RFFDG . | 9.Dt RFORK 2 10.Os 11.Sh NAME 12.Nm rfork 13.Nd manipulate process resources 14.Sh LIBRARY 15.Lb libc 16.Sh SYNOPSIS --- 32 unchanged lines hidden (view full) --- 49If set, the invoker's file descriptor table (see 50.Xr intro 2 ) 51is copied; otherwise the two processes share a 52single table. 53.It Dv RFCFDG 54If set, the new process starts with a clean file descriptor table. 55Is mutually exclusive with 56.Dv RFFDG . |
57.It Dv RFTHREAD 58If set, the new process shares file descriptor to process leaders table 59with its parent. 60Only applies when neither 61.Dv RFFDG 62nor 63.Dv RFCFDG 64are set. |
|
57.It Dv RFMEM 58If set, the kernel will force sharing of the entire address space, 59typically by sharing the hardware page table directly. 60The child 61will thus inherit and share all the segments the parent process owns, 62whether they are normally shareable or not. 63The stack segment is 64not split (both the parent and child return on the same stack) and thus --- 122 unchanged lines hidden --- | 65.It Dv RFMEM 66If set, the kernel will force sharing of the entire address space, 67typically by sharing the hardware page table directly. 68The child 69will thus inherit and share all the segments the parent process owns, 70whether they are normally shareable or not. 71The stack segment is 72not split (both the parent and child return on the same stack) and thus --- 122 unchanged lines hidden --- |