Print this page
6607 add default MAP_FILE symbol to sys/mman.h
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>

@@ -79,10 +79,11 @@
 #define MAP_SHARED      1               /* share changes */
 #define MAP_PRIVATE     2               /* changes are private */
 #define MAP_TYPE        0xf             /* mask for share type */
 
 /* other flags to mmap (or-ed in to MAP_SHARED or MAP_PRIVATE) */
+#define MAP_FILE        0               /* map from file (default) */
 #define MAP_FIXED       0x10            /* user assigns address */
 #define MAP_NORESERVE   0x40            /* don't reserve needed swap area */
 #define MAP_ANON        0x100           /* map anonymous pages directly */
 #define MAP_ANONYMOUS   MAP_ANON        /* (source compatibility) */
 #define MAP_ALIGN       0x200           /* addr specifies alignment */