qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: laurent@vivier.eu
Subject: [PATCH v2 0/4] linux-user: Fix getdents alignment issues (#704)
Date: Sun, 14 Nov 2021 11:35:35 +0100	[thread overview]
Message-ID: <20211114103539.298686-1-richard.henderson@linaro.org> (raw)

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



             reply	other threads:[~2021-11-14 10:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-14 10:35 Richard Henderson [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211114103539.298686-1-richard.henderson@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=laurent@vivier.eu \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).