diff options
author | Alexander Graf <agraf@suse.de> | 2012-10-09 09:06:49 +0200 |
---|---|---|
committer | Yury Usishchev <y.usishchev@samsung.com> | 2014-12-10 13:48:36 +0300 |
commit | 94907b1ca030a998f1bfb6bad966b35626e734d1 (patch) | |
tree | 552fdf6914ff5eddf7f329435c4a82fde0774250 /block/Makefile.objs | |
parent | 4eeab74059059165874cab32e005fbf1aa1071e4 (diff) | |
download | qemu-94907b1ca030a998f1bfb6bad966b35626e734d1.tar.gz qemu-94907b1ca030a998f1bfb6bad966b35626e734d1.tar.bz2 qemu-94907b1ca030a998f1bfb6bad966b35626e734d1.zip |
linux-user: use target_ulong
Linux syscalls pass pointers or data length or other information of that sort
to the kernel. This is all stuff you don't want to have sign extended.
Otherwise a host 64bit variable parameter with a size parameter will extend
it to a negative number, breaking lseek for example.
Pass syscall arguments as ulong always.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'block/Makefile.objs')
0 files changed, 0 insertions, 0 deletions