diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 20:02:19 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 14:14:47 +0100 |
commit | ab785c1dd4bef85f308504c83bcf47ce787e1565 (patch) | |
tree | c3a93690c32482cae9272a6a3ea7b8ff2b9cd15f /arch/um/sys-i386/asm | |
parent | c16d56a37ac6889ae9b199c02e76a03ec8a8c419 (diff) | |
download | op-kernel-dev-ab785c1dd4bef85f308504c83bcf47ce787e1565.zip op-kernel-dev-ab785c1dd4bef85f308504c83bcf47ce787e1565.tar.gz |
um: take vm-flags.h to sys-*/asm
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/sys-i386/asm')
-rw-r--r-- | arch/um/sys-i386/asm/vm-flags.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/um/sys-i386/asm/vm-flags.h b/arch/um/sys-i386/asm/vm-flags.h new file mode 100644 index 0000000..e0d24c5 --- /dev/null +++ b/arch/um/sys-i386/asm/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 |