linux-kernel-test/drivers/gpu
YoungJun Cho 5af9f116e6 drm/exynos: fix wrong pointer access at vm close.
This patch fixes wrong pointer access issue to filp->f_op and
filp->private_data.

The exynos_drm_gem_mmap_ioctl() changes filp->f_op and
filp->private_data temporarily and restore them to use
original ones in exynos_drm_gem_mmap_buffer() but there
was no lock between the changing and the restoring so
wrong pointer access to filp->f_op and filp->private_data
was induced by vm close callback.

So this patch uses mutex lock properly to resolve this issue.

Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
2013-02-21 15:00:26 +09:00
..
drm drm/exynos: fix wrong pointer access at vm close. 2013-02-21 15:00:26 +09:00
vga fbcon: fix locking harder 2013-02-08 12:02:43 +10:00
Makefile gpu: remove gma500 stub driver 2013-02-20 17:54:58 +10:00