From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFW65-0001SI-2D for qemu-devel@nongnu.org; Tue, 21 Jun 2016 20:32:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFW61-00049v-Ph for qemu-devel@nongnu.org; Tue, 21 Jun 2016 20:32:48 -0400 Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]:36673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFW61-00049e-LM for qemu-devel@nongnu.org; Tue, 21 Jun 2016 20:32:45 -0400 Received: by mail-qk0-x244.google.com with SMTP id l81so6607962qke.3 for ; Tue, 21 Jun 2016 17:32:45 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Tue, 21 Jun 2016 17:32:08 -0700 Message-Id: <1466555533-18359-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH v2 0/5] linux-user: safe_syscall updates List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, riku.voipio@iki.fi Rebased on Riku's linux-user-for-upstream branch. Fixed some nits that Peter pointed out. Fixed the ppc64 version to properly return -errno. Retested all except s390x, which is, at the moment, inconvenient. r~ Richard Henderson (5): linux-user: Provide safe_syscall for i386 linux-user: Provide safe_syscall for arm linux-user: Provide safe_syscall for aarch64 linux-user: Provide safe_syscall for s390x linux-user: Provide safe_syscall for ppc64 linux-user/host/aarch64/hostdep.h | 23 ++++++ linux-user/host/aarch64/safe-syscall.inc.S | 75 +++++++++++++++++++ linux-user/host/arm/hostdep.h | 23 ++++++ linux-user/host/arm/safe-syscall.inc.S | 90 +++++++++++++++++++++++ linux-user/host/i386/hostdep.h | 23 ++++++ linux-user/host/i386/safe-syscall.inc.S | 112 +++++++++++++++++++++++++++++ linux-user/host/ppc64/hostdep.h | 23 ++++++ linux-user/host/ppc64/safe-syscall.inc.S | 92 ++++++++++++++++++++++++ linux-user/host/s390x/hostdep.h | 23 ++++++ linux-user/host/s390x/safe-syscall.inc.S | 90 +++++++++++++++++++++++ 10 files changed, 574 insertions(+) create mode 100644 linux-user/host/aarch64/safe-syscall.inc.S create mode 100644 linux-user/host/arm/safe-syscall.inc.S create mode 100644 linux-user/host/i386/safe-syscall.inc.S create mode 100644 linux-user/host/ppc64/safe-syscall.inc.S create mode 100644 linux-user/host/s390x/safe-syscall.inc.S -- 2.5.5