qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] linux-user: Fix getdents alignment issues (#704)
@ 2021-11-14 10:35 Richard Henderson
  2021-11-14 10:35 ` [PATCH v2 1/4] linux-user: Split out do_getdents, do_getdents64 Richard Henderson
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Richard Henderson @ 2021-11-14 10:35 UTC (permalink / raw)
  To: qemu-devel; +Cc: laurent

There are a number of alignement issues flagged up by clang,
this attempts to fix only one of them: getdents.

Changes for v2:
  * Do not QEMU_BUILD_BUG_ON for size mismatch,
    as this triggers for i386 host.


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      | 314 +++++++++++++++++++-------------------
 2 files changed, 165 insertions(+), 161 deletions(-)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-11-22  8:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-14 10:35 [PATCH v2 0/4] linux-user: Fix getdents alignment issues (#704) Richard Henderson
2021-11-14 10:35 ` [PATCH v2 1/4] linux-user: Split out do_getdents, do_getdents64 Richard Henderson
2021-11-14 21:09   ` Philippe Mathieu-Daudé
2021-11-14 10:35 ` [PATCH v2 2/4] linux-user: Always use flexible arrays for dirent d_name Richard Henderson
2021-11-14 21:10   ` Philippe Mathieu-Daudé
2021-11-14 10:35 ` [PATCH v2 3/4] linux-user: Fix member types of target_dirent64 Richard Henderson
2021-11-14 20:57   ` Philippe Mathieu-Daudé
2021-11-14 10:35 ` [PATCH v2 4/4] linux-user: Rewrite do_getdents, do_getdents64 Richard Henderson
2021-11-14 21:18   ` Philippe Mathieu-Daudé
2021-11-22  8:16 ` [PATCH v2 0/4] linux-user: Fix getdents alignment issues (#704) Laurent Vivier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).