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/util
Aaron Klotz 3a74f2d2d7 cmd/tailscaled, util/winutil: add accessor functions for Windows system policies.
This patch adds new functions to be used when accessing system policies,
and revises callers to use the new functions. They first attempt the new
registry path for policies, and if that fails, attempt to fall back to the
legacy path.

We keep non-policy variants of these functions because we should be able to
retain the ability to read settings from locations that are not exposed to
sysadmins for group policy edits.

The remaining changes will be done in corp.

Updates https://github.com/tailscale/tailscale/issues/3584

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
3 years ago
..
cibuild wgengine/magicsock: increase legacy ping timeout again 4 years ago
clientmetric util/clientmetric: add tests omitted from earlier commit 3 years ago
cmpver util/cmpver: move into OSS from corp repo. 4 years ago
codegen util/codegen: reorder AssertStructUnchanged args 3 years ago
deephash all: gofmt -w -s (simplify) tests 3 years ago
dnsname util/dnsname: make ToFQDN take exactly 0 or 1 allocs for everything. 4 years ago
endian all: gofmt with Go 1.17 3 years ago
groupmember util/groupmember: adjust build tags for osusergo 3 years ago
jsonutil util/jsonutil: new package 4 years ago
lineread util/lineread: add docs to Reader 4 years ago
multierr util/multierr: new package 3 years ago
osshare all: gofmt with Go 1.17 3 years ago
pidowner all: gofmt with Go 1.17 3 years ago
racebuild all: gofmt with Go 1.17 3 years ago
systemd all: gofmt with Go 1.17 3 years ago
uniq util/uniq: add new package 4 years ago
winutil cmd/tailscaled, util/winutil: add accessor functions for Windows system policies. 3 years ago