summaryrefslogtreecommitdiff
path: root/linux-user/alpha
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@iki.fi>2011-04-18 15:23:06 +0300
committerRiku Voipio <riku.voipio@iki.fi>2011-04-26 10:15:41 +0300
commit0c866a7ed47bc8a2df320e59bc669e4784d8ad2f (patch)
tree9530ee9a19825d8f2ed305a33321bda3c11e87a7 /linux-user/alpha
parent42a39fbe0cb6549e9cedfe63e706fdf951126626 (diff)
downloadqemu-0c866a7ed47bc8a2df320e59bc669e4784d8ad2f.tar.gz
linux-user: untie syscalls from UID16
Quite a number of uid/gid related syscalls are only defined on systems with USE_UID16 defined. This is apperently based on the idea that these system calls would never be called on non-UID16 systems. Make these syscalls available for all architectures that define them. drop alpha hack to support selected UID16 syscalls. MIPS and PowerPC were also defined as UID16, to get uid/gid syscalls available, drop this error as well. Change QEMU to reflect this. Cc: Ulrich Hecht <uli@suse.de> Cc: Richard Henderson <rth@twiddle.net> Cc: Alexander Graf <agraf@suse.de> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Diffstat (limited to 'linux-user/alpha')
-rw-r--r--linux-user/alpha/syscall_nr.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/linux-user/alpha/syscall_nr.h b/linux-user/alpha/syscall_nr.h
index 7182223381..e3127df4ac 100644
--- a/linux-user/alpha/syscall_nr.h
+++ b/linux-user/alpha/syscall_nr.h
@@ -412,10 +412,3 @@
#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