2021-06-04 13:35:34 +00:00
|
|
|
//go:build windows
|
2021-06-15 16:42:41 +00:00
|
|
|
// +build windows
|
2021-06-04 13:35:34 +00:00
|
|
|
|
|
|
|
package aghos
|
|
|
|
|
|
|
|
// TODO(a.garipov): Think of a way to implement these. Perhaps by using
|
|
|
|
// syscall.CreateProcessAsUser or something from the golang.org/x/sys module.
|
|
|
|
|
|
|
|
func setGroup(_ string) (err error) {
|
|
|
|
return Unsupported("setgid")
|
|
|
|
}
|
|
|
|
|
|
|
|
func setUser(_ string) (err error) {
|
|
|
|
return Unsupported("setuid")
|
|
|
|
}
|