summaryrefslogtreecommitdiffstats
path: root/arch/um/include/shared/sysdep-i386/vm-flags.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/shared/sysdep-i386/vm-flags.h')
-rw-r--r--arch/um/include/shared/sysdep-i386/vm-flags.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/um/include/shared/sysdep-i386/vm-flags.h b/arch/um/include/shared/sysdep-i386/vm-flags.h
new file mode 100644
index 0000000..e0d24c5
--- /dev/null
+++ b/arch/um/include/shared/sysdep-i386/vm-flags.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright (C) 2004 Jeff Dike (jdike@addtoit.com)
+ * Licensed under the GPL
+ */
+
+#ifndef __VM_FLAGS_I386_H
+#define __VM_FLAGS_I386_H
+
+#define VM_DATA_DEFAULT_FLAGS \
+ (VM_READ | VM_WRITE | \
+ ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
+ VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
+
+#endif
OpenPOWER on IntegriCloud