syscall: don't assume we have a GETEUID system call
commite60ae8c72454cc783e771c9b95119594f1a67ddd
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Sep 2018 15:17:30 +0000 (26 15:17 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Sep 2018 15:17:30 +0000 (26 15:17 +0000)
tree57f5e1807370604954ab0338603cc0503a68178b
parent8d4eca1c777f83687714ba34e7426ee1c77f63bb
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264647 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/syscall/syscall_linux_test.go
libgo/mksysinfo.sh