syscall: don't define sys_SETREUID and friends
authorIan Lance Taylor <iant@golang.org>
Mon, 4 Jan 2021 21:10:38 +0000 (13:10 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 5 Jan 2021 21:53:13 +0000 (13:53 -0800)
commitf47c00cf95d7dbbe7147c61a4a6bc20921c3da2c
tree48efb16774958e2af75b951d871a03b442d44c0a
parenta9f76d03bbc791cb55e4e0658f23efd0103ea9b0
syscall: don't define sys_SETREUID and friends

We don't use them, since we always call the C library functions which do
the right thing anyhow.  And they aren't defined on all GNU/Linux variants.

Fixes PR go/98510

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/281473
gcc/go/gofrontend/MERGE
libgo/go/syscall/setuidgid_32_linux.go
libgo/go/syscall/setuidgid_linux.go