mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-01 00:33:43 +00:00

This removes the dependency on syspolicy/... from LocalBackend and tailscaled when ts_omit_syspolicy is true. Updates #12614 Change-Id: I309deb0f50f8e7d6bc11454e4210bb3b358abc77 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
25 lines
664 B
Go
25 lines
664 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// android: not implemented
|
|
// js: not implemented
|
|
// plan9: not implemented
|
|
// solaris: currently unsupported by go-smbios:
|
|
// https://github.com/digitalocean/go-smbios/pull/21
|
|
|
|
//go:build android || solaris || plan9 || js || wasm || tamago || aix || (darwin && !cgo && !ios)
|
|
|
|
package posture
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"tailscale.com/types/logger"
|
|
"tailscale.com/util/syspolicy/policyclient"
|
|
)
|
|
|
|
// GetSerialNumber returns client machine serial number(s).
|
|
func GetSerialNumbers(polc policyclient.Client, _ logger.Logf) ([]string, error) {
|
|
return nil, errors.New("not implemented")
|
|
}
|