diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-01-11 00:05:43 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-26 17:21:38 -0700 |
commit | e1155f2ae2c0562b4efe8b2b5165ad911be0d008 (patch) | |
tree | da8fb32aa9b62d55062797589869108d68b6657b /net/ipv6/ndisc.c | |
parent | a48981e31d8ea85f7ef0a5b5dead4fd4a82b2fc9 (diff) |
Input: add compat support for sysfs and /proc capabilities output
commit 15e184afa83a45cf8bafdb9dc906b97a8fbc974f upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/ipv6/ndisc.c')
0 files changed, 0 insertions, 0 deletions