drm/exynos/ipp: add file checks for ioctls
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 2 Sep 2014 12:56:21 +0000 (14:56 +0200)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Sep 2014 15:56:13 +0000 (00:56 +0900)
commit18383cb92f0d19e76e0374e573067e627cab9c92
tree1c8abce5600192490957bddd1432974224a6d197
parentd9b9734c5d2e856d59c074d272a68db91a812857
drm/exynos/ipp: add file checks for ioctls

Process should not have access to ipp nodes created by another
process. The patch adds necessary checks.
It also simplifies lookup for command node.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_ipp.c