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/winutil
Aaron Klotz 2aa8299c37 cmd/tailscaled, util/winutil: log our registry keys during tailscaled startup
In order to improve our ability to understand the state of policies and
registry settings when troubleshooting, we enumerate all values in all subkeys.
x/sys/windows does not already offer this, so we need to call RegEnumValue
directly.

For now we're just logging this during startup, however in a future PR I plan to
also trigger this code during a bugreport. I also want to log more than just
registry.

Fixes #8141

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2 years ago
..
policy various: add golangci-lint, fix issues (#7905) 2 years ago
mksyscall.go cmd/tailscaled, util/winutil: log our registry keys during tailscaled startup 2 years ago
svcdiag_windows.go all: update copyright and license headers 2 years ago
winutil.go all: update copyright and license headers 2 years ago
winutil_notwindows.go all: update copyright and license headers 2 years ago
winutil_windows.go cmd/tailscaled, util/winutil: log our registry keys during tailscaled startup 2 years ago
winutil_windows_test.go cmd/tailscaled, util/winutil: log our registry keys during tailscaled startup 2 years ago
zsyscall_windows.go cmd/tailscaled, util/winutil: log our registry keys during tailscaled startup 2 years ago