]> git.proxmox.com Git - qemu.git/commitdiff
linux-user: Add aliases for some Alpha syscalls
authorRichard Henderson <rth@twiddle.net>
Sat, 19 Dec 2009 23:17:15 +0000 (15:17 -0800)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 21 Dec 2009 10:29:27 +0000 (11:29 +0100)
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>
linux-user/alpha/syscall_nr.h

index d3c19cce4830a253e86451d41c80f648df28d0d9..71822233819b07cc2b99f8d57ae0583fa0b319d1 100644 (file)
 #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