yggdrasil-go/cmd/yggdrasil/setids_other.go
2021-07-24 15:53:22 -05:00

13 lines
301 B
Go

// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
package main
import "errors"
func setuid(uid int) error {
return errors.New("setting uid not supported on this platform")
}
func setgid(gid int) error {
return errors.New("setting gid not supported on this platform")
}