gpu: ion: ion_chunk_heap: Zero chunk heap memory at creation time
authorRebecca Schultz Zavin <rebecca@android.com>
Mon, 1 Apr 2013 23:40:02 +0000 (16:40 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:24 +0000 (14:16 -0700)
commit34e159dd120ce57b9dbfdaecb5904c2be3000a26
treed0321d2277d70bff6db94363b850e6cc57d065a5
parent8c47868929816b87219c0f75229595b06a8f6c2e
gpu: ion: ion_chunk_heap: Zero chunk heap memory at creation time

Allocations from the ion heap need to be zeroed to protect userspace
from seeing memory belonging to other processes.  First allocations
from this heap were not zero'd allowing users to see memory from other
processes on a warm reset.

Change-Id: I524a7b79cb76c390c870fcf8b30d213185fc85a0
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
drivers/gpu/ion/ion_chunk_heap.c