* [Qemu-devel] [PATCH] linux-user: x86_64: Don't use 16-bit UIDs
@ 2016-03-01 16:25 Peter Maydell
2016-03-01 16:44 ` [Qemu-devel] [Qemu-arm] " Peter Maydell
0 siblings, 1 reply; 2+ messages in thread
From: Peter Maydell @ 2016-03-01 16:25 UTC (permalink / raw)
To: qemu-devel; +Cc: Riku Voipio, qemu-arm, patches
The 64-bit x86 syscall ABI uses 32-bit UIDs; only define
USE_UID16 for 32-bit x86.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
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 9e2b3c2..34af15a 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -55,7 +55,8 @@
#define TARGET_IOC_NRBITS 8
#define TARGET_IOC_TYPEBITS 8
-#if defined(TARGET_I386) || (defined(TARGET_ARM) && defined(TARGET_ABI32)) \
+#if (defined(TARGET_I386) && defined(TARGET_ABI32)) \
+ || (defined(TARGET_ARM) && defined(TARGET_ABI32)) \
|| defined(TARGET_SPARC) \
|| defined(TARGET_M68K) || defined(TARGET_SH4) || defined(TARGET_CRIS)
/* 16 bit uid wrappers emulation */
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [Qemu-arm] [PATCH] linux-user: x86_64: Don't use 16-bit UIDs
2016-03-01 16:25 [Qemu-devel] [PATCH] linux-user: x86_64: Don't use 16-bit UIDs Peter Maydell
@ 2016-03-01 16:44 ` Peter Maydell
0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2016-03-01 16:44 UTC (permalink / raw)
To: QEMU Developers; +Cc: Riku Voipio, qemu-arm, Patch Tracking
On 1 March 2016 at 16:25, Peter Maydell <peter.maydell@linaro.org> wrote:
> The 64-bit x86 syscall ABI uses 32-bit UIDs; only define
> USE_UID16 for 32-bit x86.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Obviously I only cc'd qemu-arm on this (and the other UID patches)
because my brain was on autopilot...
-- PMM
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-01 16:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-01 16:25 [Qemu-devel] [PATCH] linux-user: x86_64: Don't use 16-bit UIDs Peter Maydell
2016-03-01 16:44 ` [Qemu-devel] [Qemu-arm] " Peter Maydell
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).