notes

The confined fuzzer's conductor, in detail

Name: provisional. After system_tests/src/user/confined_fuzzer_tests.rs.

An appendix to notes/system-test-modules.md. The module doc of system_tests/src/user/confined_fuzzer_tests.rs names the conductor's oracles and its BUGS. This page states each oracle's rule. The milestone is milestone 779 (fuzz the surface a confined process can reach).

The generator never interprets an answer. It draws one system call from its seed, makes it through the real trap entry, and waits on its slot 0 for the next GO_STEP. Every judgment is the conductor's, made between calls, so a wrong answer cannot steer what the generator does next.

The oracles

Serving a call that blocks

A call that blocks is served, keyed on the parked thread's observed state and never on timing: sends are drained, receives released, CALLs answered and the notification signaled. Only a call that neither completes nor parks somewhere serviceable is a finding.

Every service is one sched::conductor_move, an operation that can never park the conductor. A check-then-act service around a blocking IPC primitive races on four cores: the party the check saw can be gone by the act. A parked conductor is a dead suite even though the kernel is fine, because every fuzzer is parked on its GO and nobody is left to wake the judge.

Only the stepped fuzzer is ever served, which also keeps the audit tractable. At every quiet point each fuzzer is parked on its GO and only the stepped one makes calls, so the one thread that can be blocked mid-call is the one being served. A fuzzer retypes endpoints and notifications of its own and parks on them; each such park is legitimate kernel behavior, and the conductor releases every one the same way.

What it cannot reach

No fuzzer can bind an interrupt or hold a supervision channel, so interrupt and death deliveries never happen. The step protocol also closes the orders in which two fuzzers' messages can arrive. Four recorded falsifications depend on exactly those, so this module cannot turn red under them; receive_capability_attack_tests keeps those records.