Files
Haibin Liu 50f125c6fc msm: camera: Fix arbitrary kernel write
In 64 bit kernel and 32 bit userspace,ioctl_ptr from
kernel space, should NOT call the copy_from_user.

In 64 bit kernel and 64 bit userspace,ioctl_ptr from
user space, use the copy_from_user to copy data.

use the is_compat_task to distinguish two condition.

CRs-Fixed: 2283160
Change-Id: If9205e4f3176a52e52f694a3183dc9c5b7617a97
Signed-off-by: Haibin Liu <haibinl@codeaurora.org>
2019-02-11 21:49:33 +00:00
..
2016-08-21 22:15:23 -07:00
2016-03-25 16:03:38 -07:00
2016-03-25 16:03:38 -07:00
2016-03-25 16:03:38 -07:00
2016-08-21 22:15:23 -07:00