summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libarch/amd64/amd64_get_fsbase.210
-rw-r--r--lib/libarch/i386/i386_get_fsbase.210
-rw-r--r--lib/libarch/i386/i386_get_gsbase.210
-rw-r--r--lib/libc/gen/authenticate.36
-rw-r--r--lib/libc/gen/syslog.36
-rw-r--r--lib/libc/sys/__get_tcb.28
-rw-r--r--lib/libc/sys/getthrid.26
-rw-r--r--lib/libpthread/man/pthread_create.36
8 files changed, 31 insertions, 31 deletions
diff --git a/lib/libarch/amd64/amd64_get_fsbase.2 b/lib/libarch/amd64/amd64_get_fsbase.2
index e617ba55bef..12a275dc501 100644
--- a/lib/libarch/amd64/amd64_get_fsbase.2
+++ b/lib/libarch/amd64/amd64_get_fsbase.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: amd64_get_fsbase.2,v 1.4 2015/09/10 17:55:21 schwarze Exp $
+.\" $OpenBSD: amd64_get_fsbase.2,v 1.5 2016/03/30 06:58:06 jmc Exp $
.\" $NetBSD: i386_get_ioperm.2,v 1.3 1996/02/27 22:57:17 jtc Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: March 30 2016 $
.Dt AMD64_GET_FSBASE 2 amd64
.Os
.Sh NAME
@@ -55,7 +55,7 @@ sets the base address of the %fs segment to the address
The segment base address is local to each thread.
The initial thread of a new process inherits its segment base address
from the parent thread.
-.Xr __tfork 2
+.Xr __tfork 3
sets the initial segment base address for threads that it creates.
.Pp
.Sy Note:
@@ -83,8 +83,8 @@ will fail if:
points outside the process's allocated address space.
.El
.Sh SEE ALSO
-.Xr __tfork 2 ,
-.Xr fork 2
+.Xr fork 2 ,
+.Xr __tfork 3
.Sh WARNING
The ELF Thread-Local Storage ABI reserves %fs for its own use and
requires that the dynamic linker and thread library set it to
diff --git a/lib/libarch/i386/i386_get_fsbase.2 b/lib/libarch/i386/i386_get_fsbase.2
index 2d20d5fce79..c7eac24c3d8 100644
--- a/lib/libarch/i386/i386_get_fsbase.2
+++ b/lib/libarch/i386/i386_get_fsbase.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: i386_get_fsbase.2,v 1.4 2015/09/10 17:55:21 schwarze Exp $
+.\" $OpenBSD: i386_get_fsbase.2,v 1.5 2016/03/30 06:58:06 jmc Exp $
.\" $NetBSD: i386_get_ioperm.2,v 1.3 1996/02/27 22:57:17 jtc Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: March 30 2016 $
.Dt I386_GET_FSBASE 2 i386
.Os
.Sh NAME
@@ -56,7 +56,7 @@ by %fs to the address
The segment base address is local to each thread.
The initial thread of a new process inherits its segment base address
from the parent thread.
-.Xr __tfork 2
+.Xr __tfork 3
sets the initial segment base address for threads that it creates.
.Pp
.Sy Note:
@@ -84,8 +84,8 @@ will fail if:
points outside the process's allocated address space.
.El
.Sh SEE ALSO
-.Xr __tfork 2 ,
-.Xr fork 2
+.Xr fork 2 ,
+.Xr __tfork 3
.Rs
.%A Intel
.%T i386 Microprocessor Programmer's Reference Manual
diff --git a/lib/libarch/i386/i386_get_gsbase.2 b/lib/libarch/i386/i386_get_gsbase.2
index 1b70f5929dd..85dd2db8d26 100644
--- a/lib/libarch/i386/i386_get_gsbase.2
+++ b/lib/libarch/i386/i386_get_gsbase.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: i386_get_gsbase.2,v 1.4 2015/09/10 17:55:21 schwarze Exp $
+.\" $OpenBSD: i386_get_gsbase.2,v 1.5 2016/03/30 06:58:06 jmc Exp $
.\" $NetBSD: i386_get_ioperm.2,v 1.3 1996/02/27 22:57:17 jtc Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: March 30 2016 $
.Dt I386_GET_GSBASE 2 i386
.Os
.Sh NAME
@@ -56,7 +56,7 @@ by %gs to the address
The segment base address is local to each thread.
The initial thread of a new process inherits its segment base address
from the parent thread.
-.Xr __tfork 2
+.Xr __tfork 3
sets the initial segment base address for threads that it creates.
.Pp
.Sy Note:
@@ -84,8 +84,8 @@ will fail if:
points outside the process's allocated address space.
.El
.Sh SEE ALSO
-.Xr __tfork 2 ,
-.Xr fork 2
+.Xr fork 2 ,
+.Xr __tfork 3
.Rs
.%A Intel
.%T i386 Microprocessor Programmer's Reference Manual
diff --git a/lib/libc/gen/authenticate.3 b/lib/libc/gen/authenticate.3
index 85064f38497..c83b190540c 100644
--- a/lib/libc/gen/authenticate.3
+++ b/lib/libc/gen/authenticate.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: authenticate.3,v 1.17 2015/11/24 22:03:33 millert Exp $
+.\" $OpenBSD: authenticate.3,v 1.18 2016/03/30 06:58:06 jmc Exp $
.\"
.\" Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
.\"
@@ -31,7 +31,7 @@
.\" SUCH DAMAGE.
.\"
.\" BSDI $From: authenticate.3,v 2.7 1998/09/03 20:27:20 prb Exp $
-.Dd $Mdocdate: November 24 2015 $
+.Dd $Mdocdate: March 30 2016 $
.Dt AUTH_APPROVAL 3
.Os
.Sh NAME
@@ -71,7 +71,7 @@
These functions provide a simplified interface to the
.Bx
Authentication system
-.Pq see Xr bsd_auth 3 .
+.Pq see Xr auth_subr 3 .
The
.Fn auth_userokay
function provides a single function call interface.
diff --git a/lib/libc/gen/syslog.3 b/lib/libc/gen/syslog.3
index 31e15995923..a7962225600 100644
--- a/lib/libc/gen/syslog.3
+++ b/lib/libc/gen/syslog.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: syslog.3,v 1.32 2014/07/10 09:08:39 deraadt Exp $
+.\" $OpenBSD: syslog.3,v 1.33 2016/03/30 06:58:06 jmc Exp $
.\"
.\" Copyright (c) 1985, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 10 2014 $
+.Dd $Mdocdate: March 30 2016 $
.Dt SYSLOG 3
.Os
.Sh NAME
@@ -106,7 +106,7 @@ The
.Fn vsyslog
function is an alternate form in which the arguments have already been captured
using the variable-length argument facilities of
-.Xr varargs 3 .
+.Xr stdarg 3 .
.Pp
The message is tagged with
.Fa priority .
diff --git a/lib/libc/sys/__get_tcb.2 b/lib/libc/sys/__get_tcb.2
index 18074de2b4f..123fe02df16 100644
--- a/lib/libc/sys/__get_tcb.2
+++ b/lib/libc/sys/__get_tcb.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: __get_tcb.2,v 1.5 2016/03/20 05:00:22 guenther Exp $
+.\" $OpenBSD: __get_tcb.2,v 1.6 2016/03/30 06:58:06 jmc Exp $
.\"
.\" Copyright (c) 2011 Philip Guenther <guenther@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: March 20 2016 $
+.Dd $Mdocdate: March 30 2016 $
.Dt __GET_TCB 2
.Os
.Sh NAME
@@ -45,7 +45,7 @@ or
.Xr vfork 2
inherits the TCB address of the thread that created it.
A thread created using
-.Xr __tfork 2
+.Xr __tfork 3
starts with the TCB address specified in that call.
.Xr execve 2
resets the thread's TCB address to zero.
@@ -56,7 +56,7 @@ register which can be accessed from userspace.
.Fn __get_tcb
returns the address of the thread control block of the current thread.
.Sh SEE ALSO
-.Xr __tfork 2
+.Xr __tfork 3
.Sh HISTORY
The
.Fn __get_tcb
diff --git a/lib/libc/sys/getthrid.2 b/lib/libc/sys/getthrid.2
index 8f639f8c21d..7c812610b19 100644
--- a/lib/libc/sys/getthrid.2
+++ b/lib/libc/sys/getthrid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getthrid.2,v 1.3 2015/05/31 23:54:25 schwarze Exp $
+.\" $OpenBSD: getthrid.2,v 1.4 2016/03/30 06:58:06 jmc Exp $
.\" $NetBSD: getpid.2,v 1.5 1995/02/27 12:33:12 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)getpid.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 31 2015 $
+.Dd $Mdocdate: March 30 2016 $
.Dt GETTHRID 2
.Os
.Sh NAME
@@ -63,8 +63,8 @@ to identify threads within the process itself.
This function is always successful, and no return value is
reserved to indicate an error.
.Sh SEE ALSO
-.Xr __tfork 2 ,
.Xr getpid 2 ,
+.Xr __tfork 3 ,
.Xr pthread_create 3 ,
.Xr pthread_self 3
.Sh STANDARDS
diff --git a/lib/libpthread/man/pthread_create.3 b/lib/libpthread/man/pthread_create.3
index 7f7b4e346fd..a1b871d95c1 100644
--- a/lib/libpthread/man/pthread_create.3
+++ b/lib/libpthread/man/pthread_create.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_create.3,v 1.15 2014/08/30 23:51:42 guenther Exp $
+.\" $OpenBSD: pthread_create.3,v 1.16 2016/03/30 06:58:06 jmc Exp $
.\"
.\" Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>.
.\" All rights reserved.
@@ -32,7 +32,7 @@
.\"
.\" $FreeBSD: pthread_create.3,v 1.8 1999/08/28 00:03:04 peter Exp $
.\"
-.Dd $Mdocdate: August 30 2014 $
+.Dd $Mdocdate: March 30 2016 $
.Dt PTHREAD_CREATE 3
.Os
.Sh NAME
@@ -108,7 +108,7 @@ The value specified by
is invalid.
.El
.Sh SEE ALSO
-.Xr __tfork 2 ,
+.Xr __tfork 3 ,
.Xr pthread_attr_init 3 ,
.Xr pthread_attr_setdetachstate 3 ,
.Xr pthread_attr_setguardsize 3 ,