Skip to content

Commit

Permalink
Staging: binder: Remove VM_EXEC check.
Browse files Browse the repository at this point in the history
Many platforms do not support mappings without VM_EXEC.

Signed-off-by: Arve Hjønnevåg <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
arve-android authored and gregkh committed Apr 17, 2009
1 parent 20aa9e9 commit 1d8cbcf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/staging/android/binder.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1d8cbcf

Please sign in to comment.