tailscale/util/winutil
Aaron Klotz 82cd98609f util/winutil: migrate corp's winutil into OSS.
It makes the most sense to have all our utility functions reside in one place.
There was nothing in corp that could not reasonably live in OSS.

I also updated `StartProcessAsChild` to no longer depend on `futureexec`,
thus reducing the amount of code that needed migration. I tested this change
with `tswin` and it is working correctly.

I have a follow-up PR to remove the corresponding code from corp.

The migrated code was mostly written by @alexbrainman.
Sourced from corp revision 03e90cfcc4dd7b8bc9b25eb13a26ec3a24ae0ef9

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
2022-02-10 15:22:55 -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.go cmd/tailscaled, util/winutil: add accessor functions for Windows system policies. 2022-02-09 14:58:51 -07: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 util/winutil: migrate corp's winutil into OSS. 2022-02-10 15:22:55 -07:00