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
This commit is contained in:
Ian Lance Taylor 2021-01-04 13:10:38 -08:00
parent a9f76d03bb
commit f47c00cf95
3 changed files with 1 additions and 13 deletions

View File

@ -1,4 +1,4 @@
5b075d039a20f32b9c2711ca67a3e52fba74f957
a2578eb3983514641f0baf44d27d6474d3a96758
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.

View File

@ -12,10 +12,4 @@ const (
sys_SETGID = SYS_SETGID32
sys_SETUID = SYS_SETUID32
sys_SETREGID = SYS_SETREGID32
sys_SETREUID = SYS_SETREUID32
sys_SETRESGID = SYS_SETRESGID32
sys_SETRESUID = SYS_SETRESUID32
)

View File

@ -12,10 +12,4 @@ const (
sys_SETGID = SYS_SETGID
sys_SETUID = SYS_SETUID
sys_SETREGID = SYS_SETREGID
sys_SETREUID = SYS_SETREUID
sys_SETRESGID = SYS_SETRESGID
sys_SETRESUID = SYS_SETRESUID
)