From: Richard Henderson <rth@twiddle.net>
To: qemu-devel@nongnu.org
Cc: aurelien@aurel32.net
Subject: [Qemu-devel] [PATCH 2/3] linux-user: Add aliases for some Alpha syscalls
Date: Sat, 19 Dec 2009 15:17:15 -0800 [thread overview]
Message-ID: <48edf69041f2aae60f1e22163c4d35fdb93bea18.1261264754.git.rth@twiddle.net> (raw)
In-Reply-To: <2d2f4a285db07da0e453535318a463573c5397d4.1261264754.git.rth@twiddle.net>
Alpha always used 32-bit uids, but never renamed the syscalls
to match i386 when 32-bit uids were added there. This enables
the proper bits in syscall.c.
Signed-off-by: Richard Henderson <rth@twiddle.net>
---
linux-user/alpha/syscall_nr.h | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/linux-user/alpha/syscall_nr.h b/linux-user/alpha/syscall_nr.h
index d3c19cc..7182223 100644
--- a/linux-user/alpha/syscall_nr.h
+++ b/linux-user/alpha/syscall_nr.h
@@ -411,3 +411,11 @@
#define TARGET_NR_signalfd 476
#define TARGET_NR_timerfd 477
#define TARGET_NR_eventfd 478
+
+/* The following aliases are defined in order to match up with the
+ standard i386 syscalls implemented in syscalls.c. */
+#define TARGET_NR_chown32 TARGET_NR_chown
+#define TARGET_NR_setuid32 TARGET_NR_setuid
+#define TARGET_NR_setgid32 TARGET_NR_setgid
+#define TARGET_NR_setfsuid32 TARGET_NR_setfsuid
+#define TARGET_NR_setfsgid32 TARGET_NR_setfsgid
--
1.6.5.2
next prev parent reply other threads:[~2009-12-19 23:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-19 23:17 [Qemu-devel] [PATCH 1/3] target-alpha: Emit tcg debug_insn_start Richard Henderson
2009-12-19 23:17 ` Richard Henderson [this message]
2009-12-19 23:17 ` [Qemu-devel] [PATCH 3/3] linux-user: Initialize Alpha FPCR register Richard Henderson
2009-12-21 10:33 ` Aurelien Jarno
2009-12-21 21:02 ` Richard Henderson
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=48edf69041f2aae60f1e22163c4d35fdb93bea18.1261264754.git.rth@twiddle.net \
--to=rth@twiddle.net \
--cc=aurelien@aurel32.net \
--cc=qemu-devel@nongnu.org \
/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).