android_kernel_samsung_msm8976/drivers/gpu/msm
Indira Biruduraju 75b4770b3a msm: kgsl: Remove VM_MAYWRITE flag to restrict mprotect
When VM_MAYWRITE flag is used during mmap(), mprotect()
can be used later to change the protection of memstore
to allow write. Make sure this does not happen by
removing VM_MAYWRITE from the vm_flags of vma.

Change-Id: I6f69f05858ea40611d512cfa796caabeaa88cdb5
Signed-off-by: Indira Biruduraju <ibirudur@codeaurora.org>
2020-10-11 20:40:04 +02:00
..
Kconfig
Makefile
a3xx_reg.h
a4xx_reg.h
a5xx_reg.h
adreno-gpulist.h
adreno.c Merge tag 'LA.BR.1.3.6-03510-8976.0' into HEAD 2017-04-18 12:11:50 +02:00
adreno.h msm: kgsl: Program secure block configuration through CP 2015-09-14 14:38:40 +05:30
adreno_a3xx.c
adreno_a3xx.h
adreno_a3xx_snapshot.c
adreno_a4xx.c Merge tag 'LA.BR.1.3.6-03510-8976.0' into HEAD 2017-04-18 12:11:50 +02:00
adreno_a4xx.h
adreno_a4xx_snapshot.c
adreno_a5xx.c Merge tag 'LA.BR.1.3.6-05010-8976.0' of https://source.codeaurora.org/quic/la/kernel/msm-3.10 into cm-14.1-merge 2017-11-22 00:26:48 +01:00
adreno_a5xx.h
adreno_a5xx_snapshot.c msm: kgsl: Disable shader memory dump for A510 2015-07-23 02:48:27 -07:00
adreno_compat.c msm: kgsl: fix sparse type conversion errors 2015-10-07 06:22:13 -07:00
adreno_compat.h
adreno_coresight.c
adreno_cp_parser.c Merge tag 'LA.BR.1.3.6-03510-8976.0' into HEAD 2017-04-18 12:11:50 +02:00
adreno_cp_parser.h Merge tag 'LA.BR.1.3.6-03510-8976.0' into HEAD 2017-04-18 12:11:50 +02:00
adreno_debugfs.c msm: kgsl: Change %p to %pK in debug messages 2016-08-31 23:42:24 -07:00
adreno_dispatch.c Import latest Samsung release 2017-04-18 03:43:52 +02:00
adreno_dispatch.h msm: kgsl: Force GPU fault on GPC error 2015-10-20 00:30:37 -07:00
adreno_drawctxt.c msm: kgsl: Avoid spin lock recursion in adreno_drawctxt_dump 2015-07-31 18:45:29 -07:00
adreno_drawctxt.h msm: kgsl: Return -ENOENT if a context is detached during submit 2015-07-23 17:26:53 -07:00
adreno_ioctl.c
adreno_iommu.c
adreno_perfcounter.c
adreno_perfcounter.h
adreno_pm4types.h
adreno_profile.c msm: kgsl: Release device mutex on failure 2015-10-27 00:19:41 -07:00
adreno_profile.h
adreno_ringbuffer.c msm: kgsl: Return -ENOENT if a context is detached during submit 2015-07-23 17:26:53 -07:00
adreno_ringbuffer.h
adreno_snapshot.c msm: kgsl: Add missing check for snapshot IB dump 2019-08-04 22:56:49 +02:00
adreno_snapshot.h
adreno_sysfs.c
adreno_trace.c
adreno_trace.h
kgsl.c msm: kgsl: Remove VM_MAYWRITE flag to restrict mprotect 2020-10-11 20:40:04 +02:00
kgsl.h msm: kgsl: Verify the pointer isn't NULL before using it for kref 2016-08-02 00:43:34 -07:00
kgsl_cffdump.c msm: kgsl: Change %p to %pK in debug messages 2016-08-31 23:42:24 -07:00
kgsl_cffdump.h
kgsl_cmdbatch.c msm: kgsl: Fix race condition between cmdbatch and context destroy 2019-10-27 19:33:27 +01:00
kgsl_cmdbatch.h msm: kgsl: Store the profiling buffer gpuaddr as a uint64_t 2015-08-18 05:56:28 -07:00
kgsl_compat.c msm: kgsl: fix sparse type conversion errors 2015-10-07 06:22:13 -07:00
kgsl_compat.h
kgsl_debugfs.c msm: kgsl: fix sparse type conversion errors 2015-10-07 06:22:13 -07:00
kgsl_debugfs.h
kgsl_device.h msm: kgsl: fix sparse type conversion errors 2015-10-07 06:22:13 -07:00
kgsl_events.c
kgsl_ioctl.c
kgsl_iommu.c msm: kgsl: Change %p to %pK in debug messages 2016-08-31 23:42:24 -07:00
kgsl_iommu.h
kgsl_log.h
kgsl_mmu.c msm: kgsl: Check the address range before mapping to GPU 2016-07-10 22:45:22 -07:00
kgsl_mmu.h
kgsl_pwrctrl.c msm: kgsl: Change data type for GPU ib vote 2019-08-30 01:29:01 +02:00
kgsl_pwrctrl.h msm: kgsl: Avoid L2PC on masked CPUs 2016-02-05 13:00:41 +05:30
kgsl_pwrscale.c msm: kgsl: Enable GPU POPP feature based on target 2015-08-05 12:47:46 +05:30
kgsl_pwrscale.h
kgsl_sharedmem.c msm: kgsl: Perform cache operation with kernel address 2017-07-19 22:38:44 -07:00
kgsl_sharedmem.h
kgsl_snapshot.c msm: kgsl: Change %p to %pK in debug messages 2016-08-31 23:42:24 -07:00
kgsl_snapshot.h Merge tag 'LA.BR.1.3.6-03510-8976.0' into HEAD 2017-04-18 12:11:50 +02:00
kgsl_sync.c msm: kgsl: Avoid race condition in ioctl_syncsource_destroy 2016-05-31 22:32:33 -07:00
kgsl_sync.h
kgsl_trace.c
kgsl_trace.h msm: kgsl: fix trace events for 64 bit gpu addresses 2015-07-30 02:46:36 -07:00