Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Use MAP_ANONYNOUS (POSIX). Define MAP_ANON as MAP_A...



details:   https://anonhg.NetBSD.org/src/rev/a00de7b09080
branches:  trunk
changeset: 797004:a00de7b09080
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jun 30 21:46:33 2014 +0000

description:
Use MAP_ANONYNOUS (POSIX).  Define MAP_ANON as MAP_ANONYMOUS.

diffstat:

 sys/sys/mman.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 4bc6876a9c25 -r a00de7b09080 sys/sys/mman.h
--- a/sys/sys/mman.h    Mon Jun 30 21:34:22 2014 +0000
+++ b/sys/sys/mman.h    Mon Jun 30 21:46:33 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mman.h,v 1.45 2013/12/19 19:11:50 rmind Exp $  */
+/*     $NetBSD: mman.h,v 1.46 2014/06/30 21:46:33 matt Exp $   */
 
 /*-
  * Copyright (c) 1982, 1986, 1993
@@ -94,7 +94,8 @@
  * Mapping type
  */
 #define        MAP_FILE        0x0000  /* map from file (default) */
-#define        MAP_ANON        0x1000  /* allocated from memory, swap space */
+#define        MAP_ANONYMOUS   0x1000  /* allocated from memory, swap space */
+#define        MAP_ANON        MAP_ANONYMOUS
 #define        MAP_STACK       0x2000  /* allocated from memory, swap space (stack) */
 
 /*



Home | Main Index | Thread Index | Old Index