internal/hookd/peercred_other.go

v1.41.0
gitbay/internal/hookd/peercred_other.go history · blame · raw

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 }