summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-01-18 02:25:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-01-18 02:25:47 +0000
commit25150c3dac5c1b55b902f99f437c7cc04957d719 (patch)
tree0ff2c62fd0837772c68ef8bd5596846e2fe89c3d /lib/libc
parent15b28bae4e35d3c8e0abff35fb680ef212f2621e (diff)
add a piece of text, copied here so that people can think about it:
+Nor will all implementations guarantee to give exactly the requested +permissions; more permissions may be granted than requested by +.Fa prot . ok miod jmc
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/mprotect.25
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/sys/mprotect.2 b/lib/libc/sys/mprotect.2
index 777fd7d2580..d67f978f85b 100644
--- a/lib/libc/sys/mprotect.2
+++ b/lib/libc/sys/mprotect.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mprotect.2,v 1.10 2004/04/15 19:52:18 jmc Exp $
+.\" $OpenBSD: mprotect.2,v 1.11 2006/01/18 02:25:46 deraadt Exp $
.\" $NetBSD: mprotect.2,v 1.6 1995/10/12 15:41:08 jtc Exp $
.\"
.\" Copyright (c) 1991, 1993
@@ -49,6 +49,9 @@ changes the specified pages to have protection
.Fa prot .
Not all implementations will guarantee protection on a page basis;
the granularity of protection changes may be as large as an entire region.
+Nor will all implementations guarantee to give exactly the requested
+permissions; more permissions may be granted than requested by
+.Fa prot .
.Pp
The protections (region accessibility) are specified in the
.Fa prot