diff options
author | Stephen Kitt <steve@sk2.org> | 2009-08-25 19:24:22 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-08-27 22:01:39 -0700 |
commit | 999b874f4aa39b7abf45662ff0900f943ddb2d02 (patch) | |
tree | eff35a1a2622dc976319fd52dab12f6bbdc8d3a1 /fs/partitions | |
parent | 4b61bb575b1fb42ab1df228ae7812e5135f656da (diff) | |
download | linux-999b874f4aa39b7abf45662ff0900f943ddb2d02.tar.bz2 |
Input: joydev - validate axis/button maps before clobbering current ones
Up to now axis and button map validation was done after the user-supplied
values were copied over the driver's map. This patch copies the
user-supplied values into temporary buffers and validated them before
overwriting the driver's permanent maps.
Also change JSIOCGBTNMAP and JSIOCGAXMAP to return number of bytes returned
to userspace instead of 0.
Signed-off-by: Stephen Kitt <steve@sk2.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'fs/partitions')
0 files changed, 0 insertions, 0 deletions