mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 06:36:44 +07:00
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>
This commit is contained in:
parent
20aa9e9b54
commit
1d8cbcf5d6
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user