Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1e6b63e8 authored by Indira Biruduraju's avatar Indira Biruduraju Committed by Luca Weiss
Browse files

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: default avatarIndira Biruduraju <ibirudur@codeaurora.org>
parent 08a82c80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment