safesocket, ipn/ipnserver: use PeerCreds on solaris and illumos

Updates tailscale/peercred#10

Signed-off-by: Nahum Shalman <nahamu@gmail.com>
This commit is contained in:
Nahum Shalman
2026-03-23 10:45:35 -04:00
committed by GitHub
parent 43782601d0
commit 1d6ecb1e51
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ func connIsLocalAdmin(logf logger.Logf, ci *ipnauth.ConnIdentity, operatorUID st
// This is a standalone tailscaled setup, use the same logic as on
// Linux.
fallthrough
case "linux":
case "linux", "solaris", "illumos":
if !buildfeatures.HasUnixSocketIdentity {
// Everybody is an admin if support for unix socket identities
// is omitted for the build.