IT lexicon › Infra & Ops › exec server (Hurd)

exec server (Hurd)

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

The GNU Hurd process that loads a program and builds its address space — the job Unix hands to the kernel's execve.

In a monolithic kernel, execve is a system call: the kernel opens the file, parses the ELF header and maps the segments. GNU Mach knows nothing about file formats, so on the Hurd glibc sends an RPC to /hurd/exec, listening on /servers/exec. The server reads the executable through ordinary file ports, parses the ELF, places the segments in the target task's memory and also handles #! scripts by launching the interpreter.

Because exec is just another user process, an ordinary user can run their own variant and point their programs at it. That is the Hurd in a nutshell: a powerful idea that also means a plain ls involves a dozen messages between servers before the first line appears.

← Back to the lexicon