aboutsummaryrefslogtreecommitdiff
path: root/roms/u-boot
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-10-12 16:30:44 +0100
committerRiku Voipio <riku.voipio@linaro.org>2017-10-16 16:04:33 +0300
commit1847b7ba7015a7448079c2d8fd7187726c33c707 (patch)
treea25d764d514a580d4340338b43d3d1f9edff3f2d /roms/u-boot
parentcc1b3960a1a54125d2c87719fa945179bffbae68 (diff)
linux-user: Fix target FS_IOC_GETFLAGS and FS_IOC_SETFLAGS numbers
We were defining TARGET_FS_IOC_GETFLAGS and TARGET_FS_IOC_SETFLAGS using the host 'long' type in the size field, which meant that they had the wrong values if the host and guest had different sized longs. Switch to abi_long instead. This fixes a bug where these ioctls don't work on 32-bit guests on 64-bit hosts (and makes the LTP test 'setxattr03' pass where it did not previously.) Reported-by: pgndev <pgnet.dev@gmail.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'roms/u-boot')
0 files changed, 0 insertions, 0 deletions