qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: riku.voipio@linaro.org
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, Andreas Schwab <schwab@suse.de>
Subject: [Qemu-devel] [PATCH 3/8] linux-user: Don't use UID16 on AArch64
Date: Mon, 10 Mar 2014 14:22:55 +0200	[thread overview]
Message-ID: <cd98d390ae009c5c1be5ae9a656e943bb47e14f0.1394453724.git.riku.voipio@linaro.org> (raw)
In-Reply-To: <cover.1394453723.git.riku.voipio@linaro.org>

From: Andreas Schwab <schwab@suse.de>

The AArch64 kernel defines its __kernel_uid_t type as 32 bits, unlike
32 bit ARM, so don't enable our 16-bit UID wrapper handling.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
---
 linux-user/syscall_defs.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 3c8869e..d55f396 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -53,7 +53,8 @@
 #define TARGET_IOC_NRBITS	8
 #define TARGET_IOC_TYPEBITS	8
 
-#if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_SPARC) \
+#if defined(TARGET_I386) || (defined(TARGET_ARM) && defined(TARGET_ABI32)) \
+    || defined(TARGET_SPARC) \
     || defined(TARGET_M68K) || defined(TARGET_SH4) || defined(TARGET_CRIS)
     /* 16 bit uid wrappers emulation */
 #define USE_UID16
-- 
1.8.1.2

  parent reply	other threads:[~2014-03-10 12:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-10 12:22 [Qemu-devel] [PULL 0/8] linux-user update for 2.0 riku.voipio
2014-03-10 12:22 ` [Qemu-devel] [PATCH 1/8] linux-user/signal.c: Fix AArch64 big-endian FP register restore riku.voipio
2014-03-10 12:22 ` [Qemu-devel] [PATCH 2/8] linux-user: AArch64: Implement SA_RESTORER for signal handlers riku.voipio
2014-03-10 12:22 ` riku.voipio [this message]
2014-03-10 12:22 ` [Qemu-devel] [PATCH 4/8] linux-user: Fix getresuid, getresgid if !USE_UID16 riku.voipio
2014-03-10 12:22 ` [Qemu-devel] [PATCH 5/8] linux-user: Implement sendmmsg syscall riku.voipio
2014-03-10 12:22 ` [Qemu-devel] [PATCH 6/8] linux-user: translate signal number on return from sigtimedwait riku.voipio
2014-03-10 12:22 ` [Qemu-devel] [PATCH 7/8] linux-user: correct handling of break exception for MIPS riku.voipio
2014-03-10 12:23 ` [Qemu-devel] [PATCH 8/8] linux-user: set minimum kernel version to 2.6.32 riku.voipio
2014-03-10 16:43 ` [Qemu-devel] [PULL 0/8] linux-user update for 2.0 Peter Maydell

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=cd98d390ae009c5c1be5ae9a656e943bb47e14f0.1394453724.git.riku.voipio@linaro.org \
    --to=riku.voipio@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=schwab@suse.de \
    /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).