kernel-fxtec-pro1x/drivers/input
Dmitry Torokhov 1572ca2a84 Input: fix locking issue in /proc/bus/input/ handlers
input_devices_seq_start() uses mutex_lock_interruptible() to acquire
the input_mutex, but doesn't properly handle the situation when the
call fails (for example due to interrupt). Instead of returning NULL
(which indicates that there is no more data) we should return
ERR_PTR()-encoded error.

We also need explicit flag indicating whether input_mutex was acquired
since input_devices_seq_stop() is called whether input_devices_seq_start()
was successful or not.

The same applies to input_handlers_seq_start().

Reported-by: iceberg <strakh@ispras.ru>
Reviewed-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2009-10-14 00:36:33 -07:00
..
gameport Input: serio - do not use deprecated dev.power.power_state 2009-05-09 16:10:18 -07:00
joystick Input: xpad - add BigBen Interactive XBOX 360 Controller 2009-10-05 22:00:09 -07:00
keyboard Input: atkbd - postpone restoring LED/repeat rate at resume 2009-10-14 00:01:19 -07:00
misc Input: rotary_encoder - fix relative axis support 2009-10-05 22:00:01 -07:00
mouse Input: synaptics - add another Protege M300 to rate blacklist 2009-10-12 21:36:52 -07:00
serio Input: i8042 - make pnp_data_busted variable boolean instead of int 2009-10-12 21:37:14 -07:00
tablet Input: wacom - don't use on-stack memory for report buffers 2009-08-21 00:51:28 -07:00
touchscreen Input: ad7879 - pass up error codes from probe functions 2009-10-05 22:00:21 -07:00
apm-power.c
evbug.c
evdev.c Input: fix EVIOCGNAME/JSIOCGNAME regression 2009-07-13 22:24:29 -07:00
ff-core.c
ff-memless.c Input: ff-memless - fix signed to unsigned bit overflow 2009-05-07 19:04:16 -07:00
fixp-arith.h
input-compat.c
input-compat.h
input-polldev.c
input.c Input: fix locking issue in /proc/bus/input/ handlers 2009-10-14 00:36:33 -07:00
joydev.c Input: joydev - validate axis/button maps before clobbering current ones 2009-08-27 22:01:39 -07:00
Kconfig trivial: fix typos/grammar errors in Kconfig texts 2009-03-30 15:22:01 +02:00
Makefile
mousedev.c Input: simplify name handling for certain input handles 2009-05-11 00:11:43 -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