diff options
| author | E V Ravi <evenka@codeaurora.org> | 2018-10-15 18:05:04 +0530 |
|---|---|---|
| committer | E V Ravi <evenka@codeaurora.org> | 2018-10-24 12:56:41 +0530 |
| commit | 6bf50d959e35d0c2578e4f6625bc169aed341e70 (patch) | |
| tree | 43fdc94f8ea771d0e9a30860a689e63971b2d2bb /net/unix/af_unix.c | |
| parent | 1e6aa1b4d8139a28dcefe4ecbd7492bbce26b0fd (diff) | |
msm: ais: 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
Change-Id: Ib420168bbae1b7f950a1124f3e54b48d434952ca
Signed-off-by: E V Ravi <evenka@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
