Notes index: Programs, std and services
What runs at EL0: the std port, the shell, components, and the services they call.
Part of the notes index, which says how to add a line.
- The services the kernel wires: the grant shape of each confined service
kernel/src/user.rswires, and why that shape is the isolation. - Rust
stdon the native ABI: std's platform layer implemented on the capability ABI. - The user-mode runtime (
nifeos/nife:crates/user_mode_runtime/docs/design.md): the system call trap, exit andrequire, time, and the windows everyno_stdprogram links. - Somebody else's crate on nife: fifty crates.io crates built against nife's
std. ripgrepon nife: unmodified ripgrep builds and runs, and what stops it.- What a directory walk costs: a walk split per component, per entry and per KiB, on nife and a host.
- A directory walk against Linux on the same machine: release figures from milestone 606 (a directory walk costs what it does on Linux), what was fixed inside the contract, and the wire options that closed the rest.
- Bound grants in the progenitor: the last piece of ruling D, and the two answers it waits on.
- What one shim costs: priced per program and as a library.
- A TLS crypto provider on nife: building a
rustlscrypto provider for all three targets. - The
thread::spawnfork: what a std thread would cost, and why declined. - Running a foreign language: the C seam: a confined, restartable C component under a Rust shell.
- A C library for nife: relibc, measured: relibc against nife's constraints, and why the library is seeded from it and then owned.
- The program manifest: a program's declared endowment, checked at spawn.
- A shell at EL0: an interactive shell, console input and spawned workers.
- The line discipline as a userspace component (
nifeos/nife:notes/line-discipline.md): the tty line editor as a userspace process. - The terminal contract: the IPC protocol a terminal presents to programs.
- The sink protocol: one register-only protocol for writing bytes anywhere.
- Pipes and redirection (
nifeos/nife:notes/pipes.md):>,<and|as one capability substitution. - The tail-stage output fork: where a tail stage's output goes, decided.
swishthe language: quoting, sequencing, and refusal as its own exit status.- The command line as a grant expression: naming a resource at the prompt grants it.
- The glob matcher (
nifeos/nife:notes/glob.md): a pure byte glob matcher with a bounded cost. - Globbing, and the expansion you see is the grant.
- What glob deliberately does not match:
**and qualifiers refused on authority grounds, and the/-is-a-byte cost. Name provisional. - A set grant at the prompt: PROPOSED.
- Navigating with no global namespace:
cd,pwd,ls,mkdirandrmas capability builtins. - The shell edits its own line: raw mode, Tab completion, and
^Cat the prompt. - A shell holding two trees: one tree with a second mounted in it, one resolver, and a handle sent on its own tree's endpoint.
- The inert-configuration page: validated read-only
TZ,LANGandTERMfor programs. - The documentation crate (
nifeos/nife:notes/documentation.md): streaming markdown renderer, manual viewer and search index. - The component manifest: what a supervisor must route before a component serves.
- The manifest note: what a program's manifest note cannot spell, and the verb table.
- The INTERFACES note, explained: what a program declares about the formats it links, and what the progenitor checks.
- Live component replacement: swapping a running component under a live client.
- The hung component: a component that stops answering without dying.
- Dependency-aware orchestration: which components to warn before swapping a dependency.
- State handoff: a component's state carried across its own live replacement.
- The non-cooperative fallback: what a supervisor does when a dependent will not answer its warning.
- Swapping the interactive stack: what stands between
line_editor,display_terminal,compositorand a live swap. - The process view:
ps,pgrepandtopover a supervision subtree. - Scheduled execution: a cron whose every entry is a grant.
- The system log service: how the log service stamps, joins, renders and keeps lines, and its wire contracts.
- Durable delegation: a login session that outlives its client.
- Wall-clock time: wall clock as counter plus offset, three authorities.
- The machine statistics page: the granted page
free,vmstatandtopread, and why it is not a snapshot. Name provisional. date: prints the wall clock and cannot set it.time: times a command on the shell's clock.- The periodic_deadline proofs (
nifeos/nife:notes/periodic-deadline-proofs.md): whynext_aftersnaps onto the beat, and which law the host tests check instead of Kani. - The calendar crate: Unix seconds to civil dates and back, and formats.
- Entropy: where randomness comes from, and who may reach it.
- Credentials: checking a secret the service can never read back.
- NTLM: the NTLMv2 key half of the secrets store, removed.
- Login: authentication that returns capabilities instead of changing identity.
- The network stack as a confined component: the confined NIC driver, smoltcp server and socket contract.
- NTP: the wire format, and the client that carries it: the NTPv4 codec and a one-shot time client.
- Name resolution: the wire format, and the three forks it leaves: the DNS crate, its end-to-end test, and the open questions about who holds a resolver.
- SMB: the network file service a Mac mounted, and why it is no longer here.
- mDNS/DNS-SD: the Time Machine advertisement, and why it is no longer here.