Deleted Added
full compact
rfork.2 (29176) rfork.2 (43208)
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.Dd Jan 12, 1996
7.Dt RFORK 2
8.Os

--- 42 unchanged lines hidden (view full) ---

51.It RFMEM
52If set, the kernel will force sharing of the entire address space.
53The child
54will then inherit all the shared segments the parent process owns. Other segment
55types will be unaffected. Subsequent forks by the parent will then
56propagate the shared data and bss between children. The stack segment
57is always split. May be set only with
58.Dv RFPROC .
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.Dd Jan 12, 1996
7.Dt RFORK 2
8.Os

--- 42 unchanged lines hidden (view full) ---

51.It RFMEM
52If set, the kernel will force sharing of the entire address space.
53The child
54will then inherit all the shared segments the parent process owns. Other segment
55types will be unaffected. Subsequent forks by the parent will then
56propagate the shared data and bss between children. The stack segment
57is always split. May be set only with
58.Dv RFPROC .
59.It RFSIGSHARE
60If set, the kernel will force sharing the sigacts structure between the
61child and the parent.
62.It RFLINUXTHPN
63If set, the kernel will return SIGUSR1 instead of SIGCHILD upon thread
64exit for the child. This is intended to mimic certain Linux clone behaviour.
59.El
60.Pp
61File descriptors in a shared file descriptor table are kept
62open until either they are explicitly closed
63or all processes sharing the table exit.
64.Pp
65If
66.Dv RFPROC

--- 71 unchanged lines hidden ---
65.El
66.Pp
67File descriptors in a shared file descriptor table are kept
68open until either they are explicitly closed
69or all processes sharing the table exit.
70.Pp
71If
72.Dv RFPROC

--- 71 unchanged lines hidden ---