1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _ASM_GENERIC_MMAN_H
13 #define _ASM_GENERIC_MMAN_H
16 #define PROT_WRITE 0x2
20 #define PROT_GROWSDOWN 0x01000000
21 #define PROT_GROWSUP 0x02000000
23 #define MAP_SHARED 0x01
24 #define MAP_PRIVATE 0x02
26 #define MAP_FIXED 0x10
27 #define MAP_ANONYMOUS 0x20
30 #define MS_INVALIDATE 2
35 #define MADV_SEQUENTIAL 2
36 #define MADV_WILLNEED 3
37 #define MADV_DONTNEED 4
40 #define MADV_DONTFORK 10
41 #define MADV_DOFORK 11
43 #define MAP_ANON MAP_ANONYMOUS