|
@@ -128,6 +128,7 @@ extern unsigned int kobjsize(const void *objp);
|
|
#define VM_HUGETLB 0x00400000 /* Huge TLB Page VM */
|
|
#define VM_HUGETLB 0x00400000 /* Huge TLB Page VM */
|
|
#define VM_NONLINEAR 0x00800000 /* Is non-linear (remap_file_pages) */
|
|
#define VM_NONLINEAR 0x00800000 /* Is non-linear (remap_file_pages) */
|
|
#define VM_ARCH_1 0x01000000 /* Architecture-specific flag */
|
|
#define VM_ARCH_1 0x01000000 /* Architecture-specific flag */
|
|
|
|
+#define VM_ARCH_2 0x02000000
|
|
#define VM_DONTDUMP 0x04000000 /* Do not include in the core dump */
|
|
#define VM_DONTDUMP 0x04000000 /* Do not include in the core dump */
|
|
|
|
|
|
#ifdef CONFIG_MEM_SOFT_DIRTY
|
|
#ifdef CONFIG_MEM_SOFT_DIRTY
|
|
@@ -155,6 +156,11 @@ extern unsigned int kobjsize(const void *objp);
|
|
# define VM_MAPPED_COPY VM_ARCH_1 /* T if mapped copy of data (nommu mmap) */
|
|
# define VM_MAPPED_COPY VM_ARCH_1 /* T if mapped copy of data (nommu mmap) */
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+#if defined(CONFIG_X86)
|
|
|
|
+/* MPX specific bounds table or bounds directory */
|
|
|
|
+# define VM_MPX VM_ARCH_2
|
|
|
|
+#endif
|
|
|
|
+
|
|
#ifndef VM_GROWSUP
|
|
#ifndef VM_GROWSUP
|
|
# define VM_GROWSUP VM_NONE
|
|
# define VM_GROWSUP VM_NONE
|
|
#endif
|
|
#endif
|