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>
2023-06-01 13:39:17 -06:00
..
policy various: add golangci-lint, fix issues (#7905) 2023-04-17 18:38:24 -04:00
mksyscall.go cmd/tailscaled, util/winutil: log our registry keys during tailscaled startup 2023-06-01 13:39:17 -06:00
svcdiag_windows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
winutil.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
winutil_notwindows.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
winutil_windows.go cmd/tailscaled, util/winutil: log our registry keys during tailscaled startup 2023-06-01 13:39:17 -06:00
winutil_windows_test.go cmd/tailscaled, util/winutil: log our registry keys during tailscaled startup 2023-06-01 13:39:17 -06:00
zsyscall_windows.go cmd/tailscaled, util/winutil: log our registry keys during tailscaled startup 2023-06-01 13:39:17 -06:00