qemu-e2k/linux-user
Giuseppe Musacchio 0fa259dd79 linux-user: Fix erroneous conversion in copy_file_range
The implicit cast from abi_long to size_t may introduce an intermediate
unwanted sign-extension of the value for 32bit targets running on 64bit
hosts.

Signed-off-by: Giuseppe Musacchio <thatlemon@gmail.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210503174159.54302-3-thatlemon@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2021-05-18 07:09:58 +02:00
..
aarch64 linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
alpha linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
arm linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
cris
generic
hexagon linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
host
hppa linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
i386 linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
m68k linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
microblaze linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
mips linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
mips64
nios2 linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
openrisc linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
ppc linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
riscv linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
s390x linux-user/s390x: Handle vector regs in signal stack 2021-05-18 07:09:36 +02:00
sh4 linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
sparc linux-user/sparc: Implement sparc64 rt signals 2021-05-15 21:43:23 +02:00
x86_64
xtensa linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
cpu_loop-common.h
elfload.c linux-user/sparc: Clean up init_thread 2021-05-15 21:43:23 +02:00
errno_defs.h
exit.c
fd-trans.c
fd-trans.h
flat.h
flatload.c exec: Use cpu_untagged_addr in g2h; split out g2h_untagged 2021-02-16 11:04:53 +00:00
ioctls.h
linux_loop.h
linuxload.c
main.c linux-user: Remove dead code 2021-05-15 21:25:04 +02:00
meson.build linux-user/sparc: Merge sparc64/ into sparc/ 2021-05-15 21:43:23 +02:00
mmap.c linux-user/aarch64: Implement PROT_MTE 2021-02-16 13:08:46 +00:00
qemu.h linux-user: Pass CPUArchState to do_sigaltstack 2021-05-15 21:43:23 +02:00
safe-syscall.S
semihost.c Do not include cpu.h if it's not really necessary 2021-05-02 17:24:51 +02:00
signal-common.h linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
signal.c linux-user: Pass CPUArchState to target_restore_altstack 2021-05-15 21:43:23 +02:00
socket.h
strace.c linux-user: Add strace support for printing arguments of llseek 2021-05-15 21:41:47 +02:00
strace.list linux-user: Add copy_file_range to strace.list 2021-05-18 07:09:58 +02:00
syscall_defs.h Remove deprecated target tilegx 2021-03-09 11:26:32 +01:00
syscall_types.h
syscall.c linux-user: Fix erroneous conversion in copy_file_range 2021-05-18 07:09:58 +02:00
target_flat.h
trace-events
trace.h
uaccess.c linux-user: Use signed lengths in uaccess.c 2021-04-07 18:55:27 +02:00
uname.c
uname.h
vm86.c