pull/17665/merge
Nahum Shalman 1 day ago committed by GitHub
commit 0a9f6fa32d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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.

@ -120,7 +120,7 @@ func PlatformUsesPeerCreds() bool {
// runtime.GOOS value instead of using the current one.
func GOOSUsesPeerCreds(goos string) bool {
switch goos {
case "linux", "darwin", "freebsd":
case "linux", "darwin", "freebsd", "solaris", "illumos":
return true
}
return false

Loading…
Cancel
Save