summaryrefslogtreecommitdiffstats
path: root/sys/sys/mman.h
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1995-11-30 20:59:08 +0000
committerse <se@FreeBSD.org>1995-11-30 20:59:08 +0000
commit91ea4baf115d5b259a8f94637f71d9b368239d1f (patch)
tree3a1ccec1095b2eeb95c3d41597ce913c22f97d1d /sys/sys/mman.h
parent8a654117aa1442ca940c35192421e7d3f0d7f64f (diff)
downloadFreeBSD-src-91ea4baf115d5b259a8f94637f71d9b368239d1f.zip
FreeBSD-src-91ea4baf115d5b259a8f94637f71d9b368239d1f.tar.gz
Add definition of PROT_NONE=0 for compatibility with SunOS/Solaris/Linux ...
Reviewed by: julian
Diffstat (limited to 'sys/sys/mman.h')
-rw-r--r--sys/sys/mman.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/mman.h b/sys/sys/mman.h
index 56722c2..f019587 100644
--- a/sys/sys/mman.h
+++ b/sys/sys/mman.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)mman.h 8.1 (Berkeley) 6/2/93
- * $Id: mman.h,v 1.7 1995/05/14 19:19:07 nate Exp $
+ * $Id: mman.h,v 1.8 1995/07/13 08:48:02 davidg Exp $
*/
#ifndef _SYS_MMAN_H_
@@ -40,6 +40,7 @@
/*
* Protections are chosen from these bits, or-ed together
*/
+#define PROT_NONE 0x00 /* no access to pages */
#define PROT_READ 0x01 /* pages can be read */
#define PROT_WRITE 0x02 /* pages can be written */
#define PROT_EXEC 0x04 /* pages can be executed */
OpenPOWER on IntegriCloud