tailscale/safesocket
Jonathan Nobels 660b0515b9
safesocket, version: fix safesocket_darwin behavior for cmd/tailscale (#15275)
fixes tailscale/tailscale#15269

Fixes the various CLIs for all of the various flavors of tailscaled on
darwin.  The logic in version is updated so that we have methods that
return true only for the actual GUI app (which can beCLI) and the
order of the checks in localTCPPortAndTokenDarwin are corrected so
that the logic works with all 5 combinations of CLI and tailscaled.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
2025-03-11 13:24:11 -04:00
..
basic_test.go safesocket: add ConnectContext 2024-06-10 20:00:52 -07:00
pipe_windows_test.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
pipe_windows.go safesocket: add ConnectContext 2024-06-10 20:00:52 -07:00
safesocket_darwin_test.go safesocket, version: fix safesocket_darwin behavior for cmd/tailscale (#15275) 2025-03-11 13:24:11 -04:00
safesocket_darwin.go safesocket, version: fix safesocket_darwin behavior for cmd/tailscale (#15275) 2025-03-11 13:24:11 -04:00
safesocket_js.go safesocket: add ConnectContext 2024-06-10 20:00:52 -07:00
safesocket_plan9.go safesocket: add ConnectContext 2024-06-10 20:00:52 -07:00
safesocket_ps.go safesocket: don't depend on go-ps on iOS 2024-10-09 18:35:53 -07:00
safesocket_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
safesocket.go safesocket: add ConnectContext 2024-06-10 20:00:52 -07:00
unixsocket.go all: fix new lint warnings from bumping staticcheck 2024-08-22 12:31:08 -07:00
zsyscall_windows.go ipn, safesocket: use Windows token in LocalAPI 2023-10-26 09:43:19 -06:00