summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2010-06-29 17:54:35 +0000
committertedu <tedu@openbsd.org>2010-06-29 17:54:35 +0000
commit033cf9f1f1708339f5e8290492bee4e2af0c1e37 (patch)
tree3d00cd0237f32f0d727a0ab0a4e96a02ace0edcd /lib/libc
parentRTHREADS kernel options is gone, spotted by jmc (diff)
downloadwireguard-openbsd-033cf9f1f1708339f5e8290492bee4e2af0c1e37.tar.xz
wireguard-openbsd-033cf9f1f1708339f5e8290492bee4e2af0c1e37.zip
RTHREADS option is gone, now it's a sysctl. spotted by jmc
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/rfork.29
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/sys/rfork.2 b/lib/libc/sys/rfork.2
index 0d9a6ccf7a3..1f515d5ff66 100644
--- a/lib/libc/sys/rfork.2
+++ b/lib/libc/sys/rfork.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rfork.2,v 1.24 2010/04/03 01:49:44 guenther Exp $
+.\" $OpenBSD: rfork.2,v 1.25 2010/06/29 17:54:35 tedu Exp $
.\"
.\" Copyright (c) 2003 Jason McIntyre <jmc@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: April 3 2010 $
+.Dd $Mdocdate: June 29 2010 $
.Dt RFORK 2
.Os
.Sh NAME
@@ -115,7 +115,7 @@ Must be combined with
.Dv RFMEM .
Automatically enables
.Dv RFNOWAIT .
-The kernel option RTHREADS must be enabled for this to succeed.
+The kern.rthreads sysctl must be enabled for this to succeed.
.El
.Pp
.Xr fork 2
@@ -168,8 +168,7 @@ which is currently defined as 80 in
.It Bq Er ENOTSUP
The
.Dv RFTHREAD
-flag was set but the kernel was not compiled with the RTHREADS
-kernel option.
+flag was set but the kern.rthreads sysctl was not enabled.
.El
.Sh SEE ALSO
.Xr _exit 2 ,