Staging: binder: Remove VM_EXEC check.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, April 17, 2009 - 3:02 pm

Gitweb:     http://git.kernel.org/linus/1d8cbcf5d66b1f23f776a2c10ef9574a338cd109
Commit:     1d8cbcf5d66b1f23f776a2c10ef9574a338cd109
Parent:     20aa9e9b5465a2566e23d78643735dfae3277dab
Author:     Arve Hjønnevåg <arve@android.com>
AuthorDate: Mon Apr 6 15:12:53 2009 -0700
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Fri Apr 17 11:06:26 2009 -0700

    Staging: binder: Remove VM_EXEC check.
    
    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 |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c
index 79e90fe..b62cd2a 100644
--- 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)
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Staging: binder: Remove VM_EXEC check., Linux Kernel Mailing ..., (Fri Apr 17, 3:02 pm)