]> 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)
commit3e4838fabea5d19740ca9ded9223dbcbc369a9fc
tree41cf16417f60394ebc527ca37e142c3f73b240a5
parent916216005bf2254324658371e3d4c46d9db1af64
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