All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/3] Use safe_syscall wrapper for fcntl()
@ 2016-06-09 14:09 Peter Maydell
  2016-06-09 14:09 ` [Qemu-devel] [PATCH v2 1/3] linux-user: Avoid possible misalignment in host_to_target_siginfo() Peter Maydell
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Peter Maydell @ 2016-06-09 14:09 UTC (permalink / raw)
  To: qemu-devel; +Cc: patches, Laurent Vivier, Riku Voipio

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

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

end of thread, other threads:[~2016-06-09 19:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-09 14:09 [Qemu-devel] [PATCH v2 0/3] Use safe_syscall wrapper for fcntl() Peter Maydell
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.