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

Skip to content
Commit f0da1776 authored by Colin Cross's avatar Colin Cross Committed by Mitchel Humpherys
Browse files

ion: check invalid values in ion_system_heap



ion_system_heap can only satisfy page alignment, and
ion_system_contig_heap can only satisify alignment to the
allocation size.  Neither can support faulting user mappings
because they use slab pages.

Change-Id: I895c2d4184c672f647f83a17aeb862985dc92f2c
Signed-off-by: default avatarColin Cross <ccross@android.com>
Git-commit: e8f7f42cdcbe3ae4c4bf719847369ddac44219a9
Git-repo: http://android.googlesource.com/kernel/common/


[mitchelh@codeaurora.org: some context due to msm fixes]
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent ec6c8a8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment