summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-06 13:38:02 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-06 13:38:02 +0000
commit86bf2004d39e64081ff19839308488d6de204637 (patch)
tree13df6200814595af9dd5e87589b9c24aa74fa41d
parentdce408d18a14842aa7836a626a151e98665f04e7 (diff)
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.