tailscale/ssh/tailssh
Maisem Ali e04acabfde ssh/tailssh: fix race in errors returned when starting recorder
There were two code paths that could fail depending on how fast
the recorder responses. This fixes that by returning the correct
error from both paths.

Fixes #7707

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2023-03-28 19:15:46 -07:00
..
incubator.go ssh/tailssh: always assert our final uid/gid 2023-03-23 14:26:36 -04:00
incubator_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
privs_test.go ssh/tailssh: fix privilege dropping on FreeBSD; add tests 2023-03-20 16:09:18 -04:00
tailssh.go ssh/tailssh: fix race in errors returned when starting recorder 2023-03-28 19:15:46 -07:00
tailssh_test.go ssh/tailssh: add tests for recording failure 2023-03-25 11:15:42 -07:00