gcc/libgo/go/syscall/setuidgid_linux.go
Ian Lance Taylor f47c00cf95 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
2021-01-05 13:53:13 -08:00

15 lines
302 B
Go

// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build linux
// +build !386,!arm
package syscall
const (
sys_GETEUID = SYS_GETEUID
sys_SETGID = SYS_SETGID
sys_SETUID = SYS_SETUID
)