diff options
author | Riku Voipio | 2011-04-18 14:23:06 +0200 |
---|---|---|
committer | Riku Voipio | 2011-04-26 09:15:41 +0200 |
commit | 0c866a7ed47bc8a2df320e59bc669e4784d8ad2f (patch) | |
tree | 9530ee9a19825d8f2ed305a33321bda3c11e87a7 /linux-user/alpha | |
parent | linux-user: add s390x to llseek list (diff) | |
download | qemu-0c866a7ed47bc8a2df320e59bc669e4784d8ad2f.tar.gz qemu-0c866a7ed47bc8a2df320e59bc669e4784d8ad2f.tar.xz qemu-0c866a7ed47bc8a2df320e59bc669e4784d8ad2f.zip |
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.h | 7 |
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 |