internal/hookd/peercred_other.go

ed8f3378b1d69ae1e4ee55d0216141730ad592e2
gitbay/internal/hookd/peercred_other.go

9 lines · 198 bytes

1//go:build !linux
2
3package hookd
4
5import "net"
6
7// checkPeer reads peer credentials on Linux only; elsewhere the
8// socket's 0600 mode is the boundary.
9func checkPeer(net.Conn) error { return nil }