diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2014-01-31 05:20:24 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-02-13 03:00:34 +0400 |
commit | e3480a61fca72d40d6dc4baaf37e94fcbfa95e19 (patch) | |
tree | a34ddb7b967f9bed73ef31546f81b0bababef773 /drivers/edac | |
parent | 9d51e801dba0c79ae979ef2f6928e402eb41009b (diff) | |
download | linux-e3480a61fca72d40d6dc4baaf37e94fcbfa95e19.tar.xz |
Input: uinput - add UI_GET_SYSNAME ioctl to retrieve the sysfs path
uinput is used in the xorg-integration-tests suite and in the wayland
test suite. These automated tests suites create many virtual input
devices and then hook something to read these newly created devices.
Currently, uinput does not provide the created input device, which means
that we rely on an heuristic to guess which input node was created.
The problem is that is heuristic is subjected to races between different
uinput devices or even with physical devices. Having a way to retrieve
the sysfs path allows us to find without any doubts the event node.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions