internal/hookd/peercred_other.go

f8b976a97290a20d552056a999511f5d27d8e8ec
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 }