diff options
| author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
|---|---|---|
| committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
| commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
| tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /arch/um/sys-i386/shared/sysdep/vm-flags.h | |
| parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) | |
Diffstat (limited to 'arch/um/sys-i386/shared/sysdep/vm-flags.h')
| -rw-r--r-- | arch/um/sys-i386/shared/sysdep/vm-flags.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/um/sys-i386/shared/sysdep/vm-flags.h b/arch/um/sys-i386/shared/sysdep/vm-flags.h new file mode 100644 index 00000000000..e0d24c568db --- /dev/null +++ b/arch/um/sys-i386/shared/sysdep/vm-flags.h | |||
| @@ -0,0 +1,14 @@ | |||
| 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 | ||
