]> git.baikalelectronics.ru Git - kernel.git/commit
Input: uinput - handle compat ioctl for UI_SET_PHYS
authorRicky Liang <jcliang@chromium.org>
Fri, 20 May 2016 17:58:59 +0000 (10:58 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 20 May 2016 18:00:43 +0000 (11:00 -0700)
commit88cb136d1a791a4bf9779689c6cfd55bf30517a0
tree41cf16417f60394ebc527ca37e142c3f73b240a5
parente76c3160c1e21d4f1daabd72cc17e5eb9c23c65a
Input: uinput - handle compat ioctl for UI_SET_PHYS

When running a 32-bit userspace on a 64-bit kernel, the UI_SET_PHYS
ioctl needs to be treated with special care, as it has the pointer
size encoded in the command.

Signed-off-by: Ricky Liang <jcliang@chromium.org>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/uinput.c