linux/drivers/staging/android/ion
Liam Mark 6d79bd5bb6 staging: android: ion: Zero CMA allocated memory
Since commit 204f672255 ("staging: android: ion: Use CMA APIs directly")
the CMA API is now used directly and therefore the allocated memory is no
longer automatically zeroed.

Explicitly zero CMA allocated memory to ensure that no data is exposed to
userspace.

Fixes: 204f672255 ("staging: android: ion: Use CMA APIs directly")
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-16 17:50:09 +01:00
..
Kconfig staging: ion: Fix ion_cma_heap allocations 2017-12-19 15:53:39 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ion-ioctl.c staging: android: ion: Switch from WARN to pr_warn 2018-01-09 15:38:48 +01:00
ion.c staging: android: check for error from register_shrinker in ion_heap_init_shrinker 2018-01-08 16:37:18 +01:00
ion.h staging: android: check for error from register_shrinker in ion_heap_init_shrinker 2018-01-08 16:37:18 +01:00
ion_carveout_heap.c staging: android: Remove redundant license text 2017-11-28 13:20:48 +01:00
ion_chunk_heap.c staging: android: Remove redundant license text 2017-11-28 13:20:48 +01:00
ion_cma_heap.c staging: android: ion: Zero CMA allocated memory 2018-02-16 17:50:09 +01:00
ion_heap.c staging: android: check for error from register_shrinker in ion_heap_init_shrinker 2018-01-08 16:37:18 +01:00
ion_page_pool.c staging: android: Remove redundant license text 2017-11-28 13:20:48 +01:00
ion_system_heap.c staging: android: ion: Add __GFP_NOWARN for system contig heap 2018-01-09 15:38:48 +01:00