rename to setids_unix.go and adjust build directives accordingly

This commit is contained in:
Arceliar 2021-07-24 13:43:27 -05:00
parent b299d7e36b
commit 334a7ac23d
2 changed files with 2 additions and 2 deletions

View file

@ -0,0 +1,13 @@
// +build unix
package main
import "syscall"
func setuid(uid int) error {
return syscall.Setuid(uid)
}
func setgid(gid int) error {
return syscall.Setgid(gid)
}