IT lexicon › Infra & Ops › pflocal

pflocal

Infra & Ops På svenska → Updated: 2026-11-09

The Hurd server that provides local Unix sockets (PF_LOCAL) — and, by extension, pipes.

On GNU Hurd, sockets live not in the kernel but in translators under /servers/socket/, numbered by address family. /servers/socket/2 is pfinet for IPv4; /servers/socket/1 is pflocal, implementing AF_LOCAL/AF_UNIX. A call to socket(PF_LOCAL, …) is turned by glibc into an RPC against that node.

Hurd's glibc also builds pipe() on top of socketpair() through pflocal, so every ls | grep in the shell passes through a userspace server. If pflocal crashes, it is not just database connections that stop working but ordinary shell pipelines — an unusually concrete demonstration of what a microkernel moves out of the kernel.

← Back to the lexicon