tailscale/util/winutil
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>
2022-02-09 14:58:51 -07:00
..
vss utils/winutil utils/winutil/vss: add utility function for extracting data from Windows System Restore Point backups. 2021-10-18 15:48:42 -06:00
winrestore_windows.go utils/winutil utils/winutil/vss: add utility function for extracting data from Windows System Restore Point backups. 2021-10-18 15:48:42 -06:00
winutil_notwindows.go cmd/tailscaled, util/winutil: add accessor functions for Windows system policies. 2022-02-09 14:58:51 -07:00
winutil_windows.go cmd/tailscaled, util/winutil: add accessor functions for Windows system policies. 2022-02-09 14:58:51 -07:00
winutil.go cmd/tailscaled, util/winutil: add accessor functions for Windows system policies. 2022-02-09 14:58:51 -07:00