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)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:38:48 +0000 (21:38 -0800)
commit46c6ecaae93b4087d895f1a9f36d95ad6d8fd3f2
treef9099aba638be2912230c5742c3baace31a0cdd6
parent3221425cb5f44324c163a881bf7aa659f3eb2974
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