tailscale/safesocket
Andrea Gottardo 08ebac9acb
version,cli,safesocket: detect non-sandboxed macOS GUI (#11369)
Updates ENG-2848

We can safely disable the App Sandbox for our macsys GUI, allowing us to use `tailscale ssh` and do a few other things that we've wanted to do for a while. This PR:

- allows Tailscale SSH to be used from the macsys GUI binary when called from a CLI
- tweaks the detection of client variants in prop.go, with new functions `IsMacSys()`, `IsMacSysApp()` and `IsMacAppSandboxEnabled()`

Signed-off-by: Andrea Gottardo <andrea@gottardo.me>
2024-03-14 14:28:06 -07:00
..
basic_test.go safesocket: remove ConnectionStrategy (#10662) 2023-12-21 12:55:14 -08:00
pipe_windows.go all: cleanup unused code, part 2 (#10670) 2023-12-21 17:40:03 -08:00
pipe_windows_test.go safesocket: remove ConnectionStrategy (#10662) 2023-12-21 12:55:14 -08:00
safesocket.go safesocket: remove ConnectionStrategy (#10662) 2023-12-21 12:55:14 -08:00
safesocket_darwin.go version,cli,safesocket: detect non-sandboxed macOS GUI (#11369) 2024-03-14 14:28:06 -07:00
safesocket_js.go safesocket: remove ConnectionStrategy (#10662) 2023-12-21 12:55:14 -08:00
safesocket_plan9.go safesocket: remove ConnectionStrategy (#10662) 2023-12-21 12:55:14 -08:00
safesocket_ps.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
safesocket_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
unixsocket.go safesocket: remove ConnectionStrategy (#10662) 2023-12-21 12:55:14 -08:00
zsyscall_windows.go ipn, safesocket: use Windows token in LocalAPI 2023-10-26 09:43:19 -06:00