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)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:09:53 +0000 (12:09 -0800)
commit3b5aba78c5d59e5442ead911cb56aaca1c59c83b
treed566a9954b2f9c9dc74cec4995fdbdcd4b977260
parent1479af55be4d493293611195bdfccd9d1a2265bb
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