summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-11-06 13:38:01 +0000
committerart <art@openbsd.org>2001-11-06 13:38:01 +0000
commitdbc27d967069544719733bc07bac4aa9bdd3dc11 (patch)
tree4617f37a5e560bdf3cff13bd497160fe7bf79cfe
parentMore sync to NetBSD. (diff)
downloadwireguard-openbsd-dbc27d967069544719733bc07bac4aa9bdd3dc11.tar.xz
wireguard-openbsd-dbc27d967069544719733bc07bac4aa9bdd3dc11.zip
Update to match realtiy.
-rw-r--r--lib/libc/sys/minherit.29
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/sys/minherit.2 b/lib/libc/sys/minherit.2
index d48cb121c14..7d61adc4f60 100644
--- a/lib/libc/sys/minherit.2
+++ b/lib/libc/sys/minherit.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: minherit.2,v 1.9 1999/06/29 14:50:29 aaron Exp $
+.\" $OpenBSD: minherit.2,v 1.10 2001/11/06 13:38:01 art Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,7 +42,6 @@
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/mman.h>
-.Fd #include <vm/vm_inherit.h>
.Ft int
.Fn minherit "void *addr" "size_t len" "int inherit"
.Sh DESCRIPTION
@@ -52,10 +51,10 @@ system call
changes the specified pages to have the inheritance characteristic
.Fa inherit ,
which can be set to
-.Dv VM_INHERIT_NONE ,
-.Dv VM_INHERIT_COPY ,
+.Dv MAP_INHERIT_NONE ,
+.Dv MAP_INHERIT_COPY ,
or
-.Dv VM_INHERIT_SHARE .
+.Dv MAP_INHERIT_SHARE .
Not all implementations will guarantee that the inheritance characteristic
can be set on a page basis;
the granularity of changes may be as large as an entire region.