mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-29 18:38:56 +03:00
9f5a015f42
Updates #2419. Squashed commit of the following: commit e57e6ce56c59d4ef42b1716247fe48a86404179e Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Jun 15 19:37:15 2021 +0300 all: imp build tags
15 lines
345 B
Go
15 lines
345 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
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")
|
|
}
|