Files
zip/pod_other.go
zeekay 2b28d9af70 Attest the pod a unix peer runs in
SO_PEERCRED names the process; the kubelet's cgroup names the pod it
was placed in. A server on a socket shared across pods needs the second
to scope what the first may read, and neither is a value the caller
states.
2026-09-03 16:46:39 -07:00

7 lines
127 B
Go

//go:build !linux
package zip
// PodUID is "" where there is no cgroup to read.
func (p *Peer) PodUID() string { return "" }