Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
2 | * Copyright (C) 2004 Jeff Dike (jdike@addtoit.com) | ||||
3 | * Licensed under the GPL | ||||
4 | */ | ||||
5 | |||||
6 | #ifndef __VM_FLAGS_I386_H | ||||
7 | #define __VM_FLAGS_I386_H | ||||
8 | |||||
9 | #define VM_DATA_DEFAULT_FLAGS \ | ||||
10 | (VM_READ | VM_WRITE | \ | ||||
11 | ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \ | ||||
12 | VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) | ||||
13 | |||||
14 | #endif |