projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20aa9e9
)
Staging: binder: Remove VM_EXEC check.
author
Arve Hjønnevåg
<arve@android.com>
Mon, 6 Apr 2009 22:12:53 +0000
(15:12 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 17 Apr 2009 18:06:26 +0000
(11:06 -0700)
Many platforms do not support mappings without VM_EXEC.
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/android/binder.c
patch
|
blob
|
history
diff --git
a/drivers/staging/android/binder.c
b/drivers/staging/android/binder.c
index 79e90fed27d3b048cae01edbb5e0d5d2ed20711b..b62cd2aae874d3f521117c9ba3bee941922ff055 100644
(file)
--- a/
drivers/staging/android/binder.c
+++ b/
drivers/staging/android/binder.c
@@
-54,11
+54,7
@@
static int binder_read_proc_proc(
#define SZ_4M 0x400000
#endif
-#ifndef __i386__
-#define FORBIDDEN_MMAP_FLAGS (VM_WRITE | VM_EXEC)
-#else
#define FORBIDDEN_MMAP_FLAGS (VM_WRITE)
-#endif
#define BINDER_SMALL_BUF_SIZE (PAGE_SIZE * 64)