Enable getuid and getgid related syscalls on X86_SE
authorVince Weaver <vince@csl.cornell.edu>
Mon, 19 Oct 2009 21:29:34 +0000 (17:29 -0400)
committerVince Weaver <vince@csl.cornell.edu>
Mon, 19 Oct 2009 21:29:34 +0000 (17:29 -0400)
commit56154cff5eab4a28a6d86a820a4364f99889555f
tree50afd981f66ed0e2e1d14a20da45e0a6c5a173c4
parent22dc2b5595519d5fc7ca93854053b22a359e331b
Enable getuid and getgid related syscalls on X86_SE

I've tested these on x86 and they work as expected.

In theory for 32-bit x86 we should have some sort of special
handling for the legacy 16-bit uid/gid syscalls, but in practice
modern toolchains don't use the 16-bit versions, and m5 sets the uid
and gid values to be less than 16-bits anyway.

This fix is needed for the perl spec2k benchmarks to run.
src/arch/x86/linux/syscalls.cc