summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1999-01-26 02:38:12 +0000
committerjulian <julian@FreeBSD.org>1999-01-26 02:38:12 +0000
commit05a22328877b551a6299973368b01a69c27c5567 (patch)
tree2d0955594e5dedfc3a72b9f38810bbe3daa8e68c /lib
parent7332041031f8b27a81d26881a3601d76ede641f0 (diff)
downloadFreeBSD-src-05a22328877b551a6299973368b01a69c27c5567.zip
FreeBSD-src-05a22328877b551a6299973368b01a69c27c5567.tar.gz
Enable Linux threads support by default.
This takes the conditionals out of the code that has been tested by various people for a while. ps and friends (libkvm) will need a recompile as some proc structure changes are made. Submitted by: "Richard Seaman, Jr." <dick@tar.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/rfork.26
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/sys/rfork.2 b/lib/libc/sys/rfork.2
index 5e57f1f..eea643e 100644
--- a/lib/libc/sys/rfork.2
+++ b/lib/libc/sys/rfork.2
@@ -56,6 +56,12 @@ types will be unaffected. Subsequent forks by the parent will then
propagate the shared data and bss between children. The stack segment
is always split. May be set only with
.Dv RFPROC .
+.It RFSIGSHARE
+If set, the kernel will force sharing the sigacts structure between the
+child and the parent.
+.It RFLINUXTHPN
+If set, the kernel will return SIGUSR1 instead of SIGCHILD upon thread
+exit for the child. This is intended to mimic certain Linux clone behaviour.
.El
.Pp
File descriptors in a shared file descriptor table are kept
OpenPOWER on IntegriCloud