mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-30 07:05:06 +03:00
rename to setids_unix.go and adjust build directives accordingly
This commit is contained in:
parent
b299d7e36b
commit
334a7ac23d
2 changed files with 2 additions and 2 deletions
|
@ -1,13 +0,0 @@
|
|||
// +build linux darwin freebsd openbsd
|
||||
|
||||
package main
|
||||
|
||||
import "syscall"
|
||||
|
||||
func setuid(uid int) error {
|
||||
return syscall.Setuid(uid)
|
||||
}
|
||||
|
||||
func setgid(gid int) error {
|
||||
return syscall.Setgid(gid)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue