1MAP_SHARED 2MAP_PRIVATE 3MAP_FIXED 4MAP_ANONYMOUS 5MAP_32BIT 6MAP_RENAME 7MAP_NORESERVE 8MAP_POPULATE 9MAP_NONBLOCK 10/* 11 * XXX - this was introduced in SunOS 4.x to distinguish between 12 * the old pre-4.x "mmap()", which: 13 * 14 * only let you map devices with an "mmap" routine (e.g., 15 * frame buffers) in; 16 * 17 * required you to specify the mapping address; 18 * 19 * returned 0 on success and -1 on failure; 20 * 21 * memory and which, and the 4.x "mmap()" which: 22 * 23 * can map plain files; 24 * 25 * can be asked to pick where to map the file; 26 * 27 * returns the address where it mapped the file on success 28 * and -1 on failure. 29 * 30 * It's not actually used in source code that calls "mmap()"; the 31 * "mmap()" routine adds it for you. 32 * 33 * It'd be nice to come up with some way of eliminating it from 34 * the flags, e.g. reporting calls *without* it as "old_mmap()" 35 * and calls with it as "mmap()". 36 */ 37_MAP_NEW 38MAP_GROWSDOWN 39MAP_DENYWRITE 40MAP_EXECUTABLE 41MAP_INHERIT 42MAP_FILE 43MAP_LOCKED 44/* FreeBSD ones */ 45#if defined(MAP_ANON) && (!defined(MAP_ANONYMOUS) || MAP_ANON != MAP_ANONYMOUS) 46MAP_ANON 47#endif 48MAP_HASSEMAPHORE 49MAP_STACK 50MAP_HUGETLB 51#if defined MAP_UNINITIALIZED && MAP_UNINITIALIZED > 0 52MAP_UNINITIALIZED 53#endif 54MAP_NOSYNC 55MAP_NOCORE 56