summaryrefslogtreecommitdiff
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorHaibin Liu <haibinl@codeaurora.org>2018-09-10 16:02:44 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-09-18 20:28:53 -0700
commitd87b566e739ac6c309ba78dce3a218cefaacb0dc (patch)
tree6d11607b4da37b62cf3a039649e1514fe89e67b5 /drivers/net/xen-netfront.c
parent727593cbf7ebb6782b2b3b45a951cc8ccc03a788 (diff)
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>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions