aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-01-11 00:05:43 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-01-12 09:30:24 -0800
commit15e184afa83a45cf8bafdb9dc906b97a8fbc974f (patch)
tree12207c7afbcd660bdb66f444f5b51d89fff0133f /lib
parente6edbdc52bc0755cbfe0721ca91d4fd87649bc13 (diff)
Input: add compat support for sysfs and /proc capabilities output
Input core displays capabilities bitmasks in form of one or more longs printed in hex form and separated by spaces. Unfortunately it does not work well for 32-bit applications running on 64-bit kernels since applications expect that number is "worth" only 32 bits when kernel advances by 64 bits. Fix that by ensuring that output produced for compat tasks uses 32-bit units. Reported-and-tested-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions