You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/posture
Brad Fitzpatrick cc532efc20 util/syspolicy/*: move syspolicy keys to new const leaf "pkey" package
This is step 1 of ~3, breaking up #14720 into reviewable chunks, with
the aim to make syspolicy be a build-time configurable feature.

In this first (very noisy) step, all the syspolicy string key
constants move to a new constant-only (code-free) package. This will
make future steps more reviewable, without this movement noise.

There are no code or behavior changes here.

The future steps of this series can be seen in #14720: removing global
funcs from syspolicy resolution and using an interface that's plumbed
around instead. Then adding build tags.

Updates #12614

Change-Id: If73bf2c28b9c9b1a408fe868b0b6a25b03eeabd1
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 months ago
..
doc.go all: add test for package comments, fix, add comments as needed 1 year ago
hwaddr.go posture: deduplicate MAC addresses before returning them 1 year ago
serialnumber_macos.go posture: add get serial support for macOS 2 years ago
serialnumber_macos_test.go ci: run 'go vet' in golangci-lint; fix errors in tests 2 years ago
serialnumber_notmacos.go posture: stop logging serial numbers 1 year ago
serialnumber_notmacos_test.go posture: add get serial support for Windows/Linux 2 years ago
serialnumber_stub.go posture: propagate serial number from MDM on Android 7 months ago
serialnumber_syspolicy.go util/syspolicy/*: move syspolicy keys to new const leaf "pkey" package 4 months ago
serialnumber_test.go posture: add get serial support for Windows/Linux 2 years ago