xemu/bsd-user
Richard Henderson 5b73b248a1 bsd-user: Handle short reads in mmap_h_gt_g
In particular, if an image has a large bss, we can hit EOF before reading
all bytes of the mapping.  Mirror the similar change to linux-user.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20240820050848.165253-3-richard.henderson@linaro.org>
2024-08-21 09:10:42 +10:00
..
aarch64 bsd-user: Add target.h for aarch64. 2024-07-24 16:02:07 -06:00
arm bsd-user: Define TARGET_SIGSTACK_ALIGN and use it to round stack 2024-07-23 10:56:30 -06:00
freebsd bsd-user: Simplify the implementation of execve 2024-07-23 10:50:54 -06:00
host
i386 bsd-user: Define TARGET_SIGSTACK_ALIGN and use it to round stack 2024-07-23 10:56:30 -06:00
include
netbsd
openbsd
x86_64 bsd-user: Define TARGET_SIGSTACK_ALIGN and use it to round stack 2024-07-23 10:56:30 -06:00
bsd-file.h
bsd-mem.c
bsd-mem.h exec/cpu: Extract page-protection definitions to page-protection.h 2024-05-06 11:17:15 +02:00
bsd-proc.c
bsd-proc.h
bsdload.c
elfcore.c
elfload.c
errno_defs.h
main.c bsd-user: Sync fork_start/fork_end with linux-user 2024-07-23 10:56:25 -06:00
meson.build
mmap.c bsd-user: Handle short reads in mmap_h_gt_g 2024-08-21 09:10:42 +10:00
qemu-bsd.h
qemu.h bsd-user:Add AArch64 improvements and signal handling functions 2024-07-23 10:50:54 -06:00
signal-common.h
signal.c bsd-user: Define TARGET_SIGSTACK_ALIGN and use it to round stack 2024-07-23 10:56:30 -06:00
strace.c
syscall_defs.h
trace-events
trace.h
uaccess.c