android_kernel_lge_bullhead/drivers/staging/android
Suren Baghdasaryan 3c2f8a8d47 staging: android: ashmem: Disallow ashmem memory from being remapped
When ashmem file is being mmapped the resulting vma->vm_file points to the
backing shmem file with the generic fops that do not check ashmem
permissions like fops of ashmem do. Fix that by disallowing mapping
operation for backing shmem file.

Bug: 142938932
Bug: 142903466
Reported-by: Jann Horn <jannh@google.com>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I718dfca02c83845f8a41d88506871b0aa21326d7
2020-07-11 12:21:47 +02:00
..
fiq_debugger fiq_debugger: Add fiq_watchdog_triggered api 2014-06-23 14:59:08 -07:00
ion ion: fix logical-not comparison warning 2019-08-26 14:20:53 +02:00
trace lowmemorykiller: trace kill events. 2015-11-27 15:11:49 +00:00
uapi android: binder: add padding to binder_fd_array_object. 2017-03-21 01:14:41 +00:00
Kconfig configs: add vndbinder 2019-08-26 15:26:21 +02:00
Makefile fiq_debugger: move into drivers/staging/android/fiq_debugger/ 2014-06-23 14:38:27 -07:00
alarm-dev.c alarm : Fix the race conditions in alarm-dev.c 2014-04-15 02:51:19 -07:00
android_alarm.h drivers: staging: android: split uapi out of android_alarm.h 2014-06-13 12:06:18 -07:00
ashmem.c staging: android: ashmem: Disallow ashmem memory from being remapped 2020-07-11 12:21:47 +02:00
ashmem.h staging: android: ashmem: Factor out compat code from uapi 2014-06-04 12:30:47 -07:00
binder.c android: binder: Move buffer out of area shared with user space 2017-09-12 19:34:21 -07:00
binder.h Staging: android: binder: Support concurrent 32 bit and 64 bit processes. 2014-05-22 19:34:00 -07:00
binder_trace.h Staging: android: binder: Support concurrent 32 bit and 64 bit processes. 2014-05-22 19:34:00 -07:00
logger.c Merge upstream linux-stable v3.10.28 into msm-3.10 2014-03-24 14:28:34 -07:00
logger.h
lowmemorykiller.c lowmemorykiller: account for unevictable pages 2016-09-21 13:42:26 -07:00
oneshot_sync.c staging: android: Change %p to %pK in debug messages 2016-08-10 08:58:42 -07:00
ram_console.h
sw_sync.c Move sync.h from staging into include/linux 2013-09-04 17:23:32 -07:00
sync.c staging: android: Change %p to %pK in debug messages 2016-08-10 08:58:42 -07:00
timed_gpio.c
timed_gpio.h
timed_output.c
timed_output.h