mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
a1abd12f35
At least in userspace-networking mode. Fixes #11361 Change-Id: I78d33f0f7e05fe9e9ee95b97c99b593f8fe498f2 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
25 lines
644 B
Go
25 lines
644 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// ios: Apple does not allow getting serials on iOS
|
|
// 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 ios || android || solaris || plan9 || js || wasm || (darwin && !cgo) || tamago || aix
|
|
|
|
package posture
|
|
|
|
import (
|
|
"errors"
|
|
|
|
"tailscale.com/types/logger"
|
|
)
|
|
|
|
// GetSerialNumber returns client machine serial number(s).
|
|
func GetSerialNumbers(_ logger.Logf) ([]string, error) {
|
|
return nil, errors.New("not implemented")
|
|
}
|