syscall: don't assume we have a GETEUID system call
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 26 Sep 2018 15:17:30 +0000 (15:17 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 26 Sep 2018 15:17:30 +0000 (15:17 +0000)
commitdd554b787d0280566e891dba9e19dd718e68d42a
tree57f5e1807370604954ab0338603cc0503a68178b
parent6693898454936b07c7e003de872149b4201e940c
syscall: don't assume we have a GETEUID system call

    On Alpha GNU/Linux there is no geteuid system call, there is only
    getresuid.  The raw geteuid system call is only used for testing, so
    just skip the test if it's not available.

    Reviewed-on: https://go-review.googlesource.com/137655

From-SVN: r264647
gcc/go/gofrontend/MERGE
libgo/go/syscall/syscall_linux_test.go
libgo/mksysinfo.sh