target-alpha: implement getxuid and getxgid syscalls
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 14 Nov 2008 17:20:15 +0000 (17:20 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 14 Nov 2008 17:20:15 +0000 (17:20 +0000)
commit64b4d28c38ccf69a468b90e8e45563ac947cd9b0
treeaf8a0b5ad53aae44c343f989c0c8560dbfda1eee
parent71f75756c9aa40db0eb08d44adc57085fa0b6131
target-alpha: implement getxuid and getxgid syscalls

This patch implemented the setxuid and setxgid syscalls for Alpha.
These syscalls return two values, both uid/euid and gid/egid.
In addition to returning the first value in $v0, the additional
value is returned in the $a4 register.

The syscalls are used instead of the separate syscalls for those values
used on other architectures (this is probably because Alpha Linux started
out syscall compatible with DEC/OSF/Tru64).

With this patch, the perlbmk benchmarks from Spec2000 run properly.

(Vince Weaver)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5722 c046a42c-6fe2-441c-8c8c-71466251a162
linux-user/syscall.c