You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
incubator.go ssh/tailssh: always assert our final uid/gid 2 years ago
incubator_linux.go all: update copyright and license headers 2 years ago
privs_test.go ssh/tailssh: fix privilege dropping on FreeBSD; add tests 2 years ago
tailssh.go ssh/tailssh: fix race in errors returned when starting recorder 2 years ago
tailssh_test.go ssh/tailssh: add tests for recording failure 2 years ago