qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: patches@linaro.org, Laurent Vivier <laurent@vivier.eu>,
	Riku Voipio <riku.voipio@linaro.org>
Subject: [Qemu-devel] [PATCH v2 0/3] Use safe_syscall wrapper for fcntl()
Date: Thu,  9 Jun 2016 15:09:35 +0100	[thread overview]
Message-ID: <1465481378-20662-1-git-send-email-peter.maydell@linaro.org> (raw)

This is a fixed respin of the three patches which didn't make
it through review from my last set of linux-user patches.

Changes v1->v2:
 * add a memset() to host_to_target_siginfo_noswap() to suppress
   bogus gcc warnings about struct fields being maybe used while
   uninitialized
 * pass the error returned from copy_to/from_user_flock() etc out to
   the guest rather than assuming it's always -TARGET_EFAULT
 * added a note to the commit message about where the bogus shift
   operations in conversion of l_type were from

thanks
-- PMM


Peter Maydell (3):
  linux-user: Avoid possible misalignment in host_to_target_siginfo()
  linux-user: Use __get_user() and __put_user() to handle structs in
    do_fcntl()
  linux-user: Use safe_syscall wrapper for fcntl

 linux-user/signal.c  |  13 +-
 linux-user/syscall.c | 328 +++++++++++++++++++++++++++++----------------------
 2 files changed, 198 insertions(+), 143 deletions(-)

-- 
1.9.1

             reply	other threads:[~2016-06-09 14:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-09 14:09 Peter Maydell [this message]
2016-06-09 14:09 ` [Qemu-devel] [PATCH v2 1/3] linux-user: Avoid possible misalignment in host_to_target_siginfo() Peter Maydell
2016-06-09 19:27   ` Laurent Vivier
2016-06-09 14:09 ` [Qemu-devel] [PATCH v2 2/3] linux-user: Use __get_user() and __put_user() to handle structs in do_fcntl() Peter Maydell
2016-06-09 19:27   ` Laurent Vivier
2016-06-09 14:09 ` [Qemu-devel] [PATCH v2 3/3] linux-user: Use safe_syscall wrapper for fcntl Peter Maydell
2016-06-09 19:28   ` 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=1465481378-20662-1-git-send-email-peter.maydell@linaro.org \
    --to=peter.maydell@linaro.org \
    --cc=laurent@vivier.eu \
    --cc=patches@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@linaro.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).