kernel_optimize_test/drivers/input
Dmitry Torokhov 66d2a5952e Input: keyboard - fix lack of locking when traversing handler->h_list
Keyboard handler should not attempt to traverse handler->h_list on
its own, without any locking, otherwise it races with registering
and unregistering of input handles which leads to crashes.

Introduce input_handler_for_each_handle() helper that allows safely
iterate over all handles attached to a particular handler and switch
keyboard handler to use it.

Reported-by: Jim Paradis <jparadis@redhat.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2009-12-01 21:57:48 -08:00
..
gameport Input: serio - do not use deprecated dev.power.power_state 2009-05-09 16:10:18 -07:00
joystick Input: xpad - add two new Xbox 360 devices 2009-11-29 23:35:05 -08:00
keyboard Input: gpio_keys - scan gpio state at probe and resume time 2009-11-30 00:05:20 -08:00
misc Input: do not overwrite the first part of phys string 2009-11-23 08:50:52 -08:00
mouse Input: ALPS - add support for touchpads with 4-directional button 2009-11-20 00:52:13 -08:00
serio Merge commit 'v2.6.32-rc6' into next 2009-11-05 23:00:48 -08:00
tablet Input: wacom - don't use on-stack memory for report buffers 2009-08-21 00:51:28 -07:00
touchscreen Input: usbtouchscreen - add support for ET&T TC5UH touchscreen controller 2009-11-29 23:38:01 -08:00
apm-power.c Input: apm-power - fix crash when unloading modules 2008-03-24 11:02:06 -04:00
evbug.c Input: struct device - replace bus_id with dev_name(), dev_set_name() 2008-10-30 09:29:05 -04:00
evdev.c headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
ff-core.c Input: force feedback - fix function name in comment 2009-11-23 08:51:48 -08:00
ff-memless.c Input: ff-memless - fix signed to unsigned bit overflow 2009-05-07 19:04:16 -07:00
fixp-arith.h changed email 2007-10-20 00:47:32 +02:00
input-compat.c Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
input-compat.h Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
input-polldev.c Input: polled device - do not start polling if interval is zero 2009-11-23 10:16:09 -08:00
input.c Input: keyboard - fix lack of locking when traversing handler->h_list 2009-12-01 21:57:48 -08:00
joydev.c headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
Kconfig trivial: fix typos/grammar errors in Kconfig texts 2009-03-30 15:22:01 +02:00
Makefile Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
mousedev.c headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
xen-kbdfront.c xen: remove driver_data direct access of struct device from more drivers 2009-06-15 21:30:28 -07:00