2021-03-18 17:23:56 +00:00
|
|
|
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2022-02-03 00:25:57 +00:00
|
|
|
//go:build !windows
|
|
|
|
|
2021-03-18 17:23:56 +00:00
|
|
|
package winutil
|
|
|
|
|
2022-11-24 22:51:19 +00:00
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"os/user"
|
|
|
|
"runtime"
|
|
|
|
)
|
|
|
|
|
2022-02-02 17:55:32 +00:00
|
|
|
const regBase = ``
|
|
|
|
|
2022-01-10 20:10:02 +00:00
|
|
|
func getPolicyString(name, defval string) string { return defval }
|
|
|
|
|
|
|
|
func getPolicyInteger(name string, defval uint64) uint64 { return defval }
|
|
|
|
|
2022-02-02 17:55:32 +00:00
|
|
|
func getRegString(name, defval string) string { return defval }
|
2021-03-18 17:23:56 +00:00
|
|
|
|
2022-02-02 17:55:32 +00:00
|
|
|
func getRegInteger(name string, defval uint64) uint64 { return defval }
|
2021-09-28 22:29:47 +00:00
|
|
|
|
2022-02-02 17:55:32 +00:00
|
|
|
func isSIDValidPrincipal(uid string) bool { return false }
|
2022-11-24 22:51:19 +00:00
|
|
|
|
|
|
|
func lookupPseudoUser(uid string) (*user.User, error) {
|
|
|
|
return nil, fmt.Errorf("unimplemented on %v", runtime.GOOS)
|
|
|
|
}
|