gpu: ion: Validate handles passed via the kernel api
authorRebecca Schultz Zavin <rebecca@android.com>
Fri, 8 Jul 2011 00:07:56 +0000 (17:07 -0700)
committerRebecca Schultz Zavin <rebecca@android.com>
Fri, 8 Jul 2011 22:41:32 +0000 (15:41 -0700)
commitc72866db6b303d3af1f579a0270bc88353dd8458
tree279f251b0726c9f16aefda29ac86011128faf584
parent0226f8a76da6bc97c9bb4af3fd2f6eeb03c5b0b0
gpu: ion: Validate handles passed via the kernel api

Before freeing or sharing handles, confirm that they
are valid in the provided client

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