CHROMIUM: gpu: mali: Mark mapped pages ~VM_MAY* as well as VM_*

Unmask VM_MAY* for the permissions that are removed, so that mprotect() can't
be used later to upgrade them.

Signed-off-by: Olof Johansson <olofj@chromium.org>
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>

BUG=chromium:351855
TEST=regular kernel regression testing

Change-Id: I720fdb2fd59f7ba07a760f5b9dae3dce1d8c565e
Reviewed-on: https://chromium-review.googlesource.com/189756
Reviewed-by: Olof Johansson <olofj@chromium.org>
Commit-Queue: Olof Johansson <olofj@chromium.org>
Tested-by: Olof Johansson <olofj@chromium.org>
1 file changed