7. User mode: EL0, capabilities, the ELF loader, and IPC
The one early milestone whose outcome is a decision as much as code: DECISIONS §10 (process model:
capability-based, microkernel), capability-based and microkernel-shaped, recorded in 491f23d
(2026-07-14). That was the decision point §8 (process model / system call ABI: deferred to a hard decision
point) had deliberately parked. The original plan row called this "the actual OS boundary. Decision
point," and the deferral held: the decision was made before any of milestone 7 was written, not
hacked in mid-system-call.
The build then landed as lettered commits, same day:
a34d0027a: EL0. "The machine now runs code it does not trust," twosvcround trips ("one proves we left; two prove we came back"), and a hostile program killed for touching kernel memory while the kernel survived.0c7793d7c: the ELF loader; the kernel runs a binary it has never seen, delivered by initrd the way Linux's initramfs is, parsed by a host-testable crate so forging a malicious binary for a test is eleven lines.ec6f1b57d: three system_calls:exit,yield,invoke. No open, no read, no write, no fork; the same binary spawned with an empty capability table cannot print one byte.54596b67e: IPC as synchronous rendezvous, three words in registers, memory never touched on the way.
An honest gap: there is no commit titled 7b, and no surviving record of what the lettering reserved it for; the capability table and address-space work it plausibly named arrived inside 7c and 7d. The history shows the letters, not the plan behind them.
Follow-on
- Recorded. In
design/roadmap/0007-user-mode.mditself, where the reader meets the lettering: there is no commit titled 7b and no surviving record of what the letter reserved. The capability table and address-space work it plausibly named arrived inside 7c and 7d. The gap is a hole in the history rather than in the code.
Index row
the actual OS boundary, and the §10 decision made deliberately at the parked decision point