]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "Input: do not pass injected events back to the originating handler"
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 3 Feb 2011 07:04:27 +0000 (23:04 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 3 Feb 2011 07:04:27 +0000 (23:04 -0800)
commit439fbb40680dcc4cfc597c79f5260bf093e71bb7
treea451adbb46c8f1838bf234be11cb3233e25fa2da
parentb55969712e612123a39cfb8240f0157054acd374
Revert "Input: do not pass injected events back to the originating handler"

This reverts commit 3fd912b86c2ba7dac0750c0f9b3a3f0864553c8e.

Apparently there exist userspace programs that expect to be able to
"loop back" and distribute to readers events written into
/dev/input/eventX and this change made for the benefit of SysRq
handler broke them. Now that SysRq uses alternative method to suppress
filtering of the events it re-injects we can safely revert this change.

Reported-by: Kristen Carlson Accardi <kristen@linux.intel.com>
Cc: stable@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input.c