tailscale/util
David Crawshaw 6b9f8208f4 net/dns: do not run wsl.exe as LocalSystem
It doesn't work. It needs to run as the user.

	https://github.com/microsoft/WSL/issues/4803

The mechanism for doing this was extracted from:

	https://web.archive.org/web/20101009012531/http://blogs.msdn.com/b/winsdk/archive/2009/07/14/launching-an-interactive-process-from-windows-service-in-windows-vista-and-later.aspx

While here, we also reclaculate WSL distro set on SetDNS.
This accounts for:

	1. potential inability to access wsl.exe on startup
	2. WSL being installed while Tailscale is running
	3. A new WSL distrobution being installed

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2021-06-30 10:11:33 -07:00
..
cibuild wgengine/magicsock: increase legacy ping timeout again 2021-02-10 13:50:18 -08:00
cmpver util/cmpver: move into OSS from corp repo. 2021-04-23 20:55:45 -07:00
dnsname util/dnsname: make ToFQDN take exactly 0 or 1 allocs for everything. 2021-05-31 21:13:50 -07:00
endian util/endian: add Native variable to get the platform's native binary.ByteOrder 2020-11-17 13:49:24 -08:00
groupmember cmd/tailscale/web: add support for QNAP 2021-06-10 19:06:05 +05:00
jsonutil util/jsonutil: new package 2020-11-19 13:58:35 -08:00
lineread util/lineread: add docs to Reader 2020-11-19 12:14:58 -08:00
osshare ipn/ipnlocal: add file sharing to windows shell 2021-04-23 13:32:33 -07:00
pidowner util/pidowner: add missing copyright header 2020-09-11 08:57:10 -07:00
racebuild util/racebuild: add package to export a race-is-enabled const 2020-11-16 10:11:53 -08:00
systemd util/systemd: explicitly check for os.ErrNotExist from sdnotify 2021-02-27 19:03:16 -08:00
uniq util/uniq: add new package 2020-10-02 11:00:56 -07:00
winutil net/dns: do not run wsl.exe as LocalSystem 2021-06-30 10:11:33 -07:00