OpenCloudOS-Kernel/drivers/staging/android
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
..
ion staging: android: ion: Zero CMA allocated memory 2018-02-16 17:50:09 +01:00
uapi staging: android: Remove redundant license text 2017-11-28 13:20:48 +01:00
Kconfig staging, android: remove lowmemory killer from the tree 2017-03-09 13:47:03 +01:00
Makefile staging, android: remove lowmemory killer from the tree 2017-03-09 13:47:03 +01:00
TODO staging: android: TODO: Removing an invalid issue 2017-10-03 18:36:57 +02:00
ashmem.c staging: android: ashmem: Fix a race condition in pin ioctls 2018-02-16 17:50:09 +01:00
ashmem.h staging: android: add SPDX identifiers to all android driver files 2017-11-28 13:20:47 +01:00