There are a number of alignement issues flagged up by clang, this attempts to fix only one of them: getdents.
r~ Richard Henderson (4): linux-user: Split out do_getdents, do_getdents64 linux-user: Always use flexible arrays for dirent d_name linux-user: Fix member types of target_dirent64 linux-user: Rewrite do_getdents, do_getdents64 linux-user/syscall_defs.h | 12 +- linux-user/syscall.c | 290 ++++++++++++++++++-------------------- 2 files changed, 141 insertions(+), 161 deletions(-) -- 2.25.1