Commit 1d8cbcf5 authored by Arve Hjønnevåg's avatar Arve Hjønnevåg Committed by Greg Kroah-Hartman

Staging: binder: Remove VM_EXEC check.

Many platforms do not support mappings without VM_EXEC.
Signed-off-by: default avatarArve Hjønnevåg <arve@android.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 20aa9e9b
...@@ -54,11 +54,7 @@ static int binder_read_proc_proc( ...@@ -54,11 +54,7 @@ static int binder_read_proc_proc(
#define SZ_4M 0x400000 #define SZ_4M 0x400000
#endif #endif
#ifndef __i386__
#define FORBIDDEN_MMAP_FLAGS (VM_WRITE | VM_EXEC)
#else
#define FORBIDDEN_MMAP_FLAGS (VM_WRITE) #define FORBIDDEN_MMAP_FLAGS (VM_WRITE)
#endif
#define BINDER_SMALL_BUF_SIZE (PAGE_SIZE * 64) #define BINDER_SMALL_BUF_SIZE (PAGE_SIZE * 64)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment