qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/3] Use safe_syscall wrapper for fcntl()


From: Peter Maydell
Subject: [Qemu-devel] [PATCH v2 0/3] Use safe_syscall wrapper for fcntl()
Date: Thu, 9 Jun 2016 15:09:35 +0100

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 via email to

[Prev in Thread] Current Thread [Next in Thread]