summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-03-06 20:04:07 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-03-06 20:04:07 +0000
commitcc45759a360a02e8ff704945405dcd694aedc782 (patch)
treeba95c28f5487d37a2e6e71d2055f57048f3a72d7
parent0d9499da0b08296f9649b949c0b5a6e4c48a8db2 (diff)
.Xr typos;
ok deraadt@
-rw-r--r--lib/libc/sys/fcntl.26
-rw-r--r--lib/libc/sys/getgid.24
-rw-r--r--lib/libc/sys/getuid.26
-rw-r--r--lib/libc/sys/mmap.24
-rw-r--r--lib/libc/sys/setresuid.28
-rw-r--r--lib/libc/sys/sigaction.24
-rw-r--r--lib/libcompat/4.3/rexec.34
7 files changed, 18 insertions, 18 deletions
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index 3f5a111f300..85d4e6ae451 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fcntl.2,v 1.19 2002/09/19 17:19:08 millert Exp $
+.\" $OpenBSD: fcntl.2,v 1.20 2003/03/06 20:04:06 jmc Exp $
.\" $NetBSD: fcntl.2,v 1.6 1995/02/27 12:32:29 cgd Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -331,10 +331,10 @@ This semantic means that applications must be aware of any files that
a subroutine library may access.
For example if an application for updating the password file locks the
password file database while making the update, and then calls
-.Xr getpwname 3
+.Xr getpwnam 3
to retrieve a record,
the lock will be lost because
-.Xr getpwname 3
+.Xr getpwnam 3
opens, reads, and closes the password database.
The database close will release all locks that the process has
associated with the database, even if the library routine never
diff --git a/lib/libc/sys/getgid.2 b/lib/libc/sys/getgid.2
index b16505d0e8e..8f9569cd7da 100644
--- a/lib/libc/sys/getgid.2
+++ b/lib/libc/sys/getgid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getgid.2,v 1.9 2002/09/18 07:33:47 deraadt Exp $
+.\" $OpenBSD: getgid.2,v 1.10 2003/03/06 20:04:06 jmc Exp $
.\" $NetBSD: getgid.2,v 1.5 1995/02/27 12:32:53 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -74,7 +74,7 @@ indicate an error.
.Sh SEE ALSO
.Xr getuid 2 ,
.Xr setgid 2 ,
-.Xr setregid 3
+.Xr setregid 2
.Sh STANDARDS
The
.Fn getgid
diff --git a/lib/libc/sys/getuid.2 b/lib/libc/sys/getuid.2
index da4371c4b76..cec8f71ffff 100644
--- a/lib/libc/sys/getuid.2
+++ b/lib/libc/sys/getuid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getuid.2,v 1.9 2002/11/10 03:21:48 fgsch Exp $
+.\" $OpenBSD: getuid.2,v 1.10 2003/03/06 20:04:06 jmc Exp $
.\" $NetBSD: getuid.2,v 1.6 1995/02/27 12:33:37 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -73,8 +73,8 @@ functions are always successful, and no return value is reserved to
indicate an error.
.Sh SEE ALSO
.Xr getgid 2 ,
-.Xr setuid 2 ,
-.Xr setreuid 3
+.Xr setreuid 2 ,
+.Xr setuid 2
.Sh STANDARDS
The
.Fn getuid
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index af6a31329b0..fab3f437cfa 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mmap.2,v 1.28 2002/04/30 16:31:42 mpech Exp $
+.\" $OpenBSD: mmap.2,v 1.29 2003/03/06 20:04:06 jmc Exp $
.\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -131,7 +131,7 @@ Notify the kernel that the region may contain semaphores and that special
handling may be necessary.
.It Dv MAP_INHERIT
Permit regions to be inherited across
-.Xr exec 2
+.Xr exec 3
system calls.
.It Dv MAP_PRIVATE
Modifications are private.
diff --git a/lib/libc/sys/setresuid.2 b/lib/libc/sys/setresuid.2
index 788c24887e5..93d6722a48e 100644
--- a/lib/libc/sys/setresuid.2
+++ b/lib/libc/sys/setresuid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setresuid.2,v 1.2 2002/11/10 03:21:48 fgsch Exp $
+.\" $OpenBSD: setresuid.2,v 1.3 2003/03/06 20:04:06 jmc Exp $
.\"
.\" Copyright (c) 2000
.\" Sheldon Hearn. All rights reserved.
@@ -85,9 +85,9 @@ was invalid.
.Xr getuid 2 ,
.Xr issetugid 2 ,
.Xr setgid 2 ,
-.Xr setuid 2 ,
-.Xr setregid 3 ,
-.Xr setreuid 3
+.Xr setregid 2 ,
+.Xr setreuid 2 ,
+.Xr setuid 2
.Sh STANDARDS
These functions are not part of the
.St -p1003.1
diff --git a/lib/libc/sys/sigaction.2 b/lib/libc/sys/sigaction.2
index e2527999548..9683eec2bb9 100644
--- a/lib/libc/sys/sigaction.2
+++ b/lib/libc/sys/sigaction.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sigaction.2,v 1.35 2003/02/28 21:34:37 jmc Exp $
+.\" $OpenBSD: sigaction.2,v 1.36 2003/03/06 20:04:06 jmc Exp $
.\" $NetBSD: sigaction.2,v 1.7 1995/10/12 15:41:16 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -368,7 +368,7 @@ signal-catching functions:
.Xr chmod 2 ,
.Xr chown 2 ,
.Xr close 2 ,
-.Xr creat 2 ,
+.Xr creat 3 ,
.Xr dup 2 ,
.Xr dup2 2 ,
.Xr execle 3 ,
diff --git a/lib/libcompat/4.3/rexec.3 b/lib/libcompat/4.3/rexec.3
index 5d58796974a..cb249756041 100644
--- a/lib/libcompat/4.3/rexec.3
+++ b/lib/libcompat/4.3/rexec.3
@@ -77,8 +77,8 @@ the connection; the call
.Xr getservent 3 )
will return a pointer to a structure, which contains the
necessary port.
-The protocol for connection is described in detail in
-.Xr rexecd 8 .
+.\" The protocol for connection is described in detail in
+.\" .Xr rexecd 8 .
.Pp
If the connection succeeds,
a socket in the Internet domain of type