Files
mesh-host/internal/filling/peer_other.go
T
jschoubben 18521ba7af Remove the mesh-cli forward to the controller
nox now calls the seats' verbs through the console itself (mesh-catalog #593), and the controller the engine forwarded
its lines to ended (issue 1126), so the socket, its forward and the subject it asked on go. The kernel's word on a
peer moves into the filled-file socket, its one remaining reader.

Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
2026-11-02 11:28:35 +01:00

20 lines
600 B
Go

//go:build !linux
package filling
import (
"errors"
"net"
)
// peerCredentials is unknown where the kernel's way of saying it is not built here: refused, never guessed.
func peerCredentials(*net.UnixConn) (uint32, int32, error) {
return 0, 0, errors.New("this engine reads a peer's account on Linux only")
}
// namespacesOf is never satisfied where peers cannot be read.
func namespacesOf(int32) error { return errors.New("not read on this system") }
// notOwnDirectory is never satisfied where peers cannot be read.
func notOwnDirectory(string) string { return "not served on this system" }