aboutsummaryrefslogtreecommitdiff
path: root/linux-user/elfload.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-11-14 11:35:39 +0100
committerLaurent Vivier <laurent@vivier.eu>2021-11-21 16:19:17 +0100
commitaee14c77f42533f2480dfa8552f531efde6c19ee (patch)
tree3e9551fec316da1b1ff381eeef52be3c29fc6aad /linux-user/elfload.c
parent1962cb0029197bc0cd4bb0461171cda677e64966 (diff)
downloadqemu-aee14c77f42533f2480dfa8552f531efde6c19ee.zip
qemu-aee14c77f42533f2480dfa8552f531efde6c19ee.tar.gz
qemu-aee14c77f42533f2480dfa8552f531efde6c19ee.tar.bz2
linux-user: Rewrite do_getdents, do_getdents64
Always allocate host storage; this ensures that the struct is sufficiently aligned for the host. Merge the three host implementations of getdents via a few ifdefs. Utilize the same method for do_getdents64. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/704 Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20211114103539.298686-5-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/elfload.c')
0 files changed, 0 insertions, 0 deletions