summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2019-08-11 15:48:08 +0000
committerderaadt <deraadt@openbsd.org>2019-08-11 15:48:08 +0000
commitd4db6826f2c70001edcfae4c864482298cec7d85 (patch)
treeb0cae3a72c48a83a9a1c7227c8519b19d9c9ebb0 /lib/libc/sys
parentUse ERR_asprintf_error_data() instead of ERR_add_error_data(). (diff)
downloadwireguard-openbsd-d4db6826f2c70001edcfae4c864482298cec7d85.tar.xz
wireguard-openbsd-d4db6826f2c70001edcfae4c864482298cec7d85.zip
No specific called "exec(3)", so move primary manpage to a name which
does exist -- execv(3). Still call this a family but without "Nm". Adjust Xr in various pages to refer to the precise function used rather than the family, in most cases the semantics of execve(2) are being referenced, so change the Xr. ok jmc
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/ioctl.28
-rw-r--r--lib/libc/sys/mmap.26
-rw-r--r--lib/libc/sys/sysctl.26
3 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/sys/ioctl.2 b/lib/libc/sys/ioctl.2
index 57a21a803d3..467caf5841a 100644
--- a/lib/libc/sys/ioctl.2
+++ b/lib/libc/sys/ioctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ioctl.2,v 1.18 2014/06/27 21:06:33 matthew Exp $
+.\" $OpenBSD: ioctl.2,v 1.19 2019/08/11 15:48:08 deraadt Exp $
.\" $NetBSD: ioctl.2,v 1.5 1995/02/27 12:33:47 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)ioctl.2 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: June 27 2014 $
+.Dd $Mdocdate: August 11 2019 $
.Dt IOCTL 2
.Os
.Sh NAME
@@ -86,12 +86,12 @@ These include:
.It Dv FIOCLEX
Set close-on-exec flag.
The file will be closed when
-.Xr exec 3
+.Xr execve 2
is invoked.
.It Dv FIONCLEX
Clear close-on-exec flag.
The file will remain open across
-.Xr exec 3 .
+.Xr execve 2 .
.El
.Pp
Some generic ioctls are not implemented for all types of file
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index 5f3aeea3966..570c6d31ac0 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mmap.2,v 1.61 2019/03/17 00:59:11 cheloha Exp $
+.\" $OpenBSD: mmap.2,v 1.62 2019/08/11 15:48:08 deraadt Exp $
.\" $NetBSD: mmap.2,v 1.5 1995/06/24 10:48:59 cgd Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)mmap.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: March 17 2019 $
+.Dd $Mdocdate: August 11 2019 $
.Dt MMAP 2
.Os
.Sh NAME
@@ -194,7 +194,7 @@ On
this flag is ignored.
.It Dv MAP_INHERIT
Permit regions to be inherited across
-.Xr exec 3
+.Xr execve 2
system calls.
On
.Ox
diff --git a/lib/libc/sys/sysctl.2 b/lib/libc/sys/sysctl.2
index 91dab585947..29cd3ac306c 100644
--- a/lib/libc/sys/sysctl.2
+++ b/lib/libc/sys/sysctl.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.2,v 1.27 2019/05/09 15:05:47 claudio Exp $
+.\" $OpenBSD: sysctl.2,v 1.28 2019/08/11 15:48:08 deraadt Exp $
.\"
.\" Copyright (c) 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: May 9 2019 $
+.Dd $Mdocdate: August 11 2019 $
.Dt SYSCTL 2
.Os
.Sh NAME
@@ -505,7 +505,7 @@ greater than 0,
this variable may not be changed.
.It Dv KERN_ARGMAX Pq Va kern.argmax
The maximum number of bytes allowed among the arguments to
-.Xr exec 3 .
+.Xr execve 2 .
.It Dv KERN_AUDIO Pq Va kern.audio
Control device-independent aspects of the
.Xr audio 4