aboutsummaryrefslogtreecommitdiff
path: root/linux-user/alpha
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2009-12-19 15:17:15 -0800
committerAurelien Jarno <aurelien@aurel32.net>2009-12-21 11:29:27 +0100
commita3b3912ad0ed21c7d13f4bec84050f38d4f207da (patch)
tree390b2f6d76b28b36f8e57e9c0b361c4e9f9e6258 /linux-user/alpha
parent4f7836b7eb38e5f9a637f521ac1875bd3e686a97 (diff)
downloadqemu-a3b3912ad0ed21c7d13f4bec84050f38d4f207da.zip
qemu-a3b3912ad0ed21c7d13f4bec84050f38d4f207da.tar.gz
qemu-a3b3912ad0ed21c7d13f4bec84050f38d4f207da.tar.bz2
linux-user: Add aliases for some Alpha syscalls
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> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'linux-user/alpha')
-rw-r--r--linux-user/alpha/syscall_nr.h8
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