summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2019-12-10 00:39:52 +0000
committerjsg <jsg@openbsd.org>2019-12-10 00:39:52 +0000
commit139d2993a8cf07dadada0bdc49210008fdc49567 (patch)
treebad385de4ee1496f02f9c3a02eeab9b5113fba23 /lib/libc
parentWhen loading a library, mmap(2) may fail. Then everything gets (diff)
downloadwireguard-openbsd-139d2993a8cf07dadada0bdc49210008fdc49567.tar.xz
wireguard-openbsd-139d2993a8cf07dadada0bdc49210008fdc49567.zip
Adjust history text.
A fully functional mmap() system call first appeared in SunOS 4.0 and has been available since 4.4BSD. wording from and ok schwarze@ input from deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/mmap.213
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index a086b91b161..d920c6c0202 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mmap.2,v 1.63 2019/12/06 19:15:16 jmc Exp $
+.\" $OpenBSD: mmap.2,v 1.64 2019/12/10 00:39:52 jsg 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: December 6 2019 $
+.Dd $Mdocdate: December 10 2019 $
.Dt MMAP 2
.Os
.Sh NAME
@@ -312,10 +312,13 @@ The
function conforms to
.St -p1003.1-2008 .
.Sh HISTORY
-The
+.\" A mmap() system call stub appeared in 4.1c BSD,
+.\" but the functionality wasn't implemented.
+A fully functional
.Fn mmap
-system call first appeared in
-.Bx 4.1c .
+system call first appeared in SunOS 4.0
+and has been available since
+.Bx 4.4 .
.Sh CAVEATS
.St -p1003.1-2008
specifies that references to pages beyond the end of a mapped object