Files
Privatae e4c9b69b46
ci / personal-data (push) Successful in 5s
ci / test (push) Successful in 3m4s
ci / fuzz (push) Successful in 3m45s
bastion 0.53.2
2026-10-20 04:42:14 +00:00

15 lines
351 B
Go

//go:build !linux && !darwin
package main
import (
"errors"
"net"
)
// servicePeerUID has no peer-credential source on this platform, so a slot's
// socket cannot be proven to be the server's — the forward refuses.
func servicePeerUID(c net.Conn) (uint32, error) {
return 0, errors.New("peer credentials are not available on this platform")
}