mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-01 06:02:32 -08:00
This change confines Taildrop filesystem operations to a persistent os.Root, preventing symlinks or receive-directory replacement from redirecting file access outside the intended directory. It also closes extension-owned roots during manager replacement and shutdown.
Fixes tailscale/corp#51118
Credit to Aditya @adios-404 for reporting
Change-Id: Ica39b3603221b3c7ba4460b176aae9b67eb64556
Change-Id: I37c836325eb319afd55a21a5b553175368a10783
(cherry picked from commit 6c0903552a)
Signed-off-by: Mike Jensen <[email protected]>