Skip to content

v0.93.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 09:52
· 1314 commits to master since this release
v0.93.0
6beaca8

[0.93.0] - 2026-11-17 06:56

Added

  • Three more formats of a file of the mark: modustool mark still --format ico writes an icon file with one PNG entry for each size, --format svg writes the cells variant as rectangles, with the rule of the dark scheme on request, and modustool mark animation --animation <name> writes one animation as an animated PNG file, each frame for its time. The smooth variant as a vector file is refused with a sentence.
  • A share of the processor for each program: the program scheduler has a share policy. With scheduler.policy(1) it gives each program one program weight and divides it between the threads of the program that are ready or that ran, one round each 100 ms, so four programs with 1, 2, 4 and 8 threads that compute have the thread weights 1024, 512, 256 and 128. scheduler.share("paint", 256) gives the programs with a name another program weight, from 32 to 1024. A thread keeps a weight that its program lowered, and gets its weight back when the policy goes off. The key S of the window opens the view of the shares: one row for each program, with its share of the processors in the last period. The kernel has no new operation. The policy is off at the start, and it does not see threads that a program creates and ends between two rounds.
  • The palette sets the scheduling strategy: the palette has one entry for each scheduling strategy, "set strategy to eevdf", and the strategy that the machine uses says so. The console has the command strategy(name), with round_robin, fair or eevdf: it calls the new export strategy_set of the program scheduler, which holds the right to change the strategy and must run. A press of the pointer in a field of the form of a command puts the caret there, and a press on a candidate takes it.
  • The pointer on the scroll bars of the palette and of a completion list: the scroll bar of the palette, of the candidates of its form and of the completion list of the console takes the pointer: a press on an arrow button moves the rows by one, a press on the track by one page, and the thumb follows the pointer. The chosen row follows the view. The wheel of a pointing device is not read yet.
  • A module from a source outside the repository: modustool module-build <folder> builds a module whose source is in a folder of another project, with the steps of a module of the system. The folder holds one Odin package and a file module.txt with the name of the module, its imports, its settings of the compiler and whether it is a library module, one key: value on each line. The tool finds the system with --system or with the environment variable MODUS_SYSTEM, writes <name>.module and <name>.debug in the folder build of the module, and prints the hash of the module and the names of its exports. A source of such a module is in its folder, in the source library modus or in the libraries of the compiler: the tool refuses each other place. The tool does not yet put such a module in the boot image of a machine.
  • Programs from a disk: the console command start_from_disk(name, hash) starts a program whose module file is an object of the store programs of the storage service, and not a file of the boot image. The root service reads the bytes without waiting for the storage service, starts them only when their BLAKE3 hash is the hash of the command, and gives the program the log and a window and no grant, whatever its name. modustool test disk_programs writes the data disk and runs the machine.
  • Kind icons in the completion list of the console. Each row of the completion list starts with the kind icon of its name, as each row of the palette does: a command, an export, a command that makes a record, a module, a variable or a line of the history. A reader tells them apart before reading the name.
  • Two rules of the system are checks of the tool. modustool check now compares the count of the kernel operations with the count that the properties state, and refuses a source of the system that calls an allocator. modustool rule-checks runs the two checks alone.
  • A step over a call in the debugger. The command step_over(thread) of the console, and the export debugger.step_over, run a thread to the next source line of its procedure: a call of the line runs to its end, and the thread does not stop inside it. step_line still enters the call.
  • Keyboard layouts. The setting keyboard_layout chooses the layout of the keyboard: us (QWERTY) or french (AZERTY). The window of settings shows it as a row of buttons, and settings.set("keyboard_layout", "french") sets it; a change holds from the next key. A key whose character is outside ASCII in a layout gives no character yet.
  • A window for the debugger. The program debugger_window shows the threads of a program, the stack of the chosen thread, and the variables and the source line of the chosen frame. A key does each act: hold a thread, let it run, one instruction, one line, one line over each call, detach.
  • A film of the boot. modustool film boot films the start of a machine: the check of the boot program on the screen, the boot display held at its stage, the desktop, and the window of the boot display with the records of the kernel. The machine of a film has a display with no window, and the scenario starts it, so each state stays readable.
  • The window of the debugger sets breakpoints. In the window of the debugger, the key b puts a breakpoint at the source line of the chosen frame, the keys 0 to 3 remove the breakpoint with that number, and g shows the registers of the chosen thread.
  • An outside module in a machine. The command modustool program-disk writes a data disk whose store of the programs holds module files, and prints the line of the console that starts each one. A machine with that disk starts a module that was built from a folder of another project with start_from_disk, with no grant and no change of the boot image.
  • The palette builds its form from the descriptions. A setting is one row of the palette with a button for each value and a line under the value in use: Left and Right choose, Enter or a press sets it; the scheduling strategy is such a row too. A field of a command with a few closed values, such as the field of strategy, is a row of buttons. The input band says the mode of the chosen entry: "enter: run", "enter enter: destroy", and "shift enter: go to" when an open window acts on the same thing. Shift and Enter then bring that window to the front with the focus on its element: the window of settings names the button of the value in use of each setting, and scheduler the tile of the strategy in use. A program names an element with element_act_name, and writes no other code for it. The palette table is at version 4.
  • Grants for a disk program. The principal gives a disk program a grant by its nickname, the name of its entry in the store programs: allow("visitor", "store") gives it a store of its own, disk-visitor, from its next start, and disallow takes the grant. The disk grant table binds each nickname to one hash: a start of the nickname with another hash is refused before any read, and start_from_disk("visitor", "") starts the file of the row. nickname_move(nickname, hash) points the nickname to a new file, and its grant and its store follow. The root service refuses the ring of the root service, a right over the machine or a device, and the right to act for the principal. The table of principal 0 lasts until the machine stops; the store stays on the disk.
  • The IOMMU. On a machine with the IOMMU of Intel, a device reaches only the memory that its device service declared with Memory_Physical, and an access to another page is refused and written on the log as a DMA fault, with the device and the address; no program stops. A machine with no IOMMU writes one line at its start and runs as before. modustool test iommu runs the system on such a machine, with a test device service whose read into a page that it did not declare does not arrive.
  • The palette shows a size or a time as a number with its unit. A field of a command that counts a size or a time shows its unit after the number, also while the field is empty: buffer(count: 4 pages), wait_stop(milliseconds: 3000 ms), and the prompt says "an Integer, in pages". A press and a release on a button of a field take its value, as Tab does. The palette table is version 5, with an integer unit for each parameter.
  • The machine passphrase. machine_passphrase() sets an optional passphrase of principal 0, the machine, typed two times in the window of unlock. With it, the disk grant table of principal 0 is kept in the store programs, signed by the machine key, and a grant of a disk program survives a restart: the window of unlock asks for the passphrase at each start, and until it is typed the machine runs and its disk programs start with no grant. A table that another key signed is refused with a line of the log, gives no grant, and is kept on the disk: only a new passphrase on a machine with no record writes over it. disk_persistence(nickname, setting) sets how long a row lasts: persist, forget, or the global setting. With no machine passphrase, the table lasts until the machine stops, as before.
  • The window of the debugger takes a typed place and a click. A debug place field and the buttons break at, watch and memory put a breakpoint at a procedure or at a file and a line, a watch on an address or a global, and show 128 bytes of the program from a place, in a new card that the window reads again with the threads. A click on a row does what a key does: a row of the threads or of the stack chooses it, a row of the source puts a breakpoint at its line, and a row of the breakpoints removes it. A developer then needs the console for no act of the debugger.
  • An export states the unit of a number. An Integer parameter of an export can count a size or a time: its source gives it a type such as value_kinds.Size_In_Bytes or value_kinds.Time_In_Milliseconds, and the description of the export holds the unit. The palette shows the unit after the number of the field, as for a built-in command of the console: hkdf_sha256_expand takes a length in bytes, debugger.memory and debugger.watch bytes, debugger.wait_stop milliseconds, storage.set_size bytes. The unit is part of the meaning of the export: a replacement whose export counts in another unit fails the check of the loader, and an import declaration with another unit, or with a plain i64, stops the build.
  • A disk program without the tool. The module file service programs puts a module file in the store programs on a machine that runs: programs.receive(nickname, path) fetches the file from a web server (10.0.2.100 port 80, the address that QEMU gives to a server of the host), stores it under the nickname, and gives the BLAKE3 hash of its bytes to type in start_from_disk. programs.list() gives each module file of the store with the hash of its bytes, which the service reads again. The service needs no new kind of grant: its private store is the store programs, and it serves a caller that acts for the principal of the store only. The root service still checks the bytes at each start. An import of a disk program from the same store is not built.
  • The console writes a character from its code point: character(233) gives the text of é, two bytes of UTF-8, so a line of ASCII can build a text of another language before the keys type it. A control character, a surrogate and a number past 1114111 are refused.
  • The releases page has a Subscribe menu. On the pages Releases and News of the site, a button "Subscribe" under the heading opens a menu with the Atom feed of the page and a link to watch the releases on GitHub. The menu works with no script, and Escape or a click outside closes it.
  • A disk program imports a module of the store of the programs. When a disk program imports a module that the boot image does not hold, the root service reads the files of the store programs of the principal, computes the BLAKE3 hash of the bytes of each, and gives the loader the file whose hash the import names, under any nickname. The imports of that file are found the same way, with bounds of 64 entries, 8 modules and 4 levels, inside the deadline of the load. The bytes are paid by the budget of the disk programs. A hash that no file has refuses the start with one line of the log that names the import.
  • A guest. A program runs another system on the processor, with the AMD virtualization support: the new kernel operation Guest_Run (the kernel has 34 operations now) runs the guest processor of a program that no thread ran, whose mappings are the guest memory, and gives each exit (a port write or read, hlt, cpuid, an access to memory) as its completion record. The program guest_demo runs seven bytes of 16-bit code that write 42 to the port 0x80, and receives the write; a machine with no support gives Unsupported.
  • Interrupt remapping on Intel. On a machine with the IOMMU of Intel whose units offer interrupt remapping, a device sends only the message interrupts that Device_Create made for it: a device service can no longer make its device write another vector into the interrupt addresses. A refused interrupt is a line of the log with the device, the entry and the reason, and a count of its own; nothing stops. Device_Create of the kind Message now takes the base of a memory base address register of the device, and the kernel tells each unit to forget an entry through its queue of invalidations. modustool test iommu runs the system with remapping on, and a test device service whose forged messages are refused.
  • The debug object of an outside module in a machine. modustool program-disk puts the debug object of each module file beside it in the store programs, under the hash of the module, and refuses one that names another module. At attach, the debugger service reads it through a connection that reads only, which the root service gives with the debug access (the command Debug_Store of the root ring), checks that it names the module, and names the procedures, the lines and the variables of a disk program: outsider entry outsider/main.odin 81. A connection of a service can now read only (isolated.CALLER_READS_ONLY, bit 47; the amount has bits 0 to 46).
  • A stop report of a disk program names its procedures and its lines. The root service keeps the stop report of a disk program that stopped on a fault, with only the frames that a module record holds, 8 reports at most and 4 for one principal, until a run of the nickname ends with no fault, and writes root: kept the stop report of <nickname>, a disk program of principal 0: stop_report("<nickname>") names its frames. stop_report("<nickname>") in the console calls the new export stop_report of the debugger service, with no attach: the service receives the report with the connection that reads only to the store programs (the command Debug_Store, with the flag values[6]), reads the debug object of the module, and gives one row for each frame with the procedure, the file and the line: outsider_fault visitor::fault_three outsider/main.odin 169. The caller must act for the principal of the program. The error unit Stop_Reports names a nickname with no kept report.
  • The grants of a disk program of a named principal persist across a restart. A console that the desktop starts during the session of a named principal acts for that principal: its allow, disallow, nickname_move and disk_persistence change the disk grant table of that principal. The root service keeps that table as the object grant_table of the store programs.principal.1, with a tag under a key that unlock derives from the unlock key of the principal and gives with Principal_Unlock (values 0 to 3, and its origin in value 5). The root service reads the table at the first unlock of a run; a table that does not verify gives no grant, and is written over only at the creation of the principal.
  • A key sealed by the TPM, and a recovery key: on a machine with Secure Boot on, machine_seal() gives principal 0 a machine key that the new TPM service seals to PCR 7 and PCR 11, so the disk grants of the machine persist with no passphrase, and an older or a changed system, or a copy of the disk on another machine, opens nothing. Before each unseal the TPM proves that it made the sealed object under the PCR values of its policy, so a record that another system on the machine wrote is refused. The window of unlock shows a recovery key one time; when the TPM refuses, that key opens the machine key, and with Secure Boot on unlock seals it again to the system that runs.
  • The nickname of a disk program with its hash in the monitor and the menu. The menu of the windows, the palette and the monitor show a disk program by its nickname, with the hash prefix of its file (its first 16 hexadecimal digits) faded beside it, both from the root service that checked the bytes; the title bar shows the nickname alone. A mapping that does not fit in the 12 mappings of a start is dropped with one line of the log, no longer in silence. The record Client_Add of the control ring of the compositor holds the nickname and the first 8 bytes of the hash; the window of a disk program takes its nickname as its title, whatever title the program asks for. The new disk program page (modus:contract/disk_program_page, the fixed range Disk_Program_Page) holds the program slot, the program serial, the nickname and the whole hash of each disk program that runs; the root service maps it read-only into each program that it starts with the right Inspect. Program_State gives two more results: the program slot and the program serial. The monitor is 520 by 560 pixels, wraps a long name inside its column, and counts the programs whose rows do not fit; the menu of the windows is as wide as a nickname of 23 bytes with its hash prefix.
  • The IOMMU of AMD, with its interrupt remapping. On a machine with the IOMMU of AMD, which the firmware lists in the ACPI table IVRS, a device reaches only the memory that its service declared with Memory_Physical, and sends only the message interrupts that Device_Create made for it, as on Intel: the same domains, declarations, device windows, end of a grant and lines of the log, behind one switch on the vendor. Each device with no service has an entry of the device table that refuses every access and every message. A refused access comes from the event log of the unit as the line of a DMA fault, with the device, the address and a count. Device_Create of the kind Message gives, on AMD, the address of the first processor and the index of the entry of the interrupt table of the device as the value. The virtual wire of the 8259 and the NMI of the chipset pass by the settings that the firmware gives their device. A reserved memory range of every device or of a range of devices, or two units that name one device, leave the IOMMU off, with one line. The line of a machine with no IOMMU now names both tables. modustool test iommu_amd runs the system on QEMU with amd-iommu,dma-remap=on,intremap=on.
  • A block device that drops a write, as a test. modustool test power now runs the storage service on a disk that answers Ok to the write of one block of a commit and does not keep it. At the next start, the service refuses that commit with one line of the log and uses the commit before it, and the object reads its previous version.
  • The keys of a named principal sealed by the TPM, and their recovery key: on a machine with the TPM service and Secure Boot on, principal_create() has the TPM seal the keys of the new principal to PCR 7, PCR 11 and the passphrase together, so another system, another machine or a copy of the disk opens nothing, and the TPM counts each wrong passphrase and then limits the rate of the tries, while its lockout hierarchy has an authorization value that an attacker does not know. The window of unlock shows a recovery key one time; when the TPM refuses, or when the passphrase is lost, that key opens the keys, and a new passphrase seals them again to the system that runs. The TPM service sends TPM2_Shutdown after each use of a passphrase that is not a counted failure, so a stop of the machine after an unlock counts no failure.
  • Keys that type characters outside ASCII. A key record carries a code point: the layout of France gives é, è, ç, à and ù from their keys, and â, ê, î, ô, û, ë, ï, ü and ÿ from the dead keys ^ and ¨. The line of the console, its history file, the search of the palette and a passphrase are UTF-8, and each key moves over or removes a whole character. Each glyph cache and Spleen draw the Latin-1 Supplement U+00A0 to U+00FF: the glyph cache is version 3, keyed by a character index of 191 characters, and the module text_shaping takes 191 advances.
  • The same object is kept one time. The storage service finds the current object of a store by its hash, so two entries of one store with the same bytes take their blocks one time: an object of 1 MiB written under two names holds 261 blocks of the store, and the second commit writes no block of it. A change of one name copies only the path of the blocks that it changes, and a removal of one name keeps the other. The index is in the memory of the service and the open of the disk makes it from the entries, so a loss of power leaves nothing of it to repair; each candidate is confirmed from its blocks before an entry names it. While a store has a writable share of one of its trees open, its commits write their own blocks and add no root that a later write can find, so the holder of the share cannot learn what the rest of the store holds.
  • The wheel of a pointing device moves a view. The input service asks the PS/2 mouse for the IntelliMouse protocol and reads its wheel; each wheel notch over a view moves it by three lines: the lines and the completion list of a terminal, the text of manual, the cards of hall_of_fame, a list, and the rows of the palette. Only the window in front gets the notches, as it gets the rest of the input. The log line input: ok is now input: ok, the mouse has a wheel, and a pointer record has a fourth value, the notches.
  • The hash of a disk program in the exports of the monitor. Each row of monitor.programs(), and of programs() in the console, has a new field hash: for a program that the root service started from a disk, the whole BLAKE3 hash of its module file in 64 hexadecimal digits, from the disk program page, with its nickname as its name; for each other program, an empty text. The console and the host then read the file of a disk program that the window of the monitor shows, and join it with the rows of manual.running() by the hash.
  • A release publishes a disk image of the system. modustool release image builds the release volume with the keys of the publisher of the system, puts it in a GPT disk for a USB key, compresses it with zstd, and writes SHA256SUMS.txt and its Ed25519 release signature in dist/; it refuses the test keys and every boot image of a test. modustool verify checks the signature, then the hash, and docs/INSTALL.md gives the same check with OpenSSL, the write with dd, and the setting of Secure Boot. The release workflow publishes the files at each tag v<release number>, the check workflow runs nix flake check at each push, and the home and the page of the releases name the files and the release signing key.
  • A release in one command, with a signed tag: modustool ship step (or correction, or a release number) writes the release from the fragments, commits it, makes the annotated and signed release tag v<release number>, and pushes the commit and the tag to master in one atomic push. It refuses a branch other than master, a tree with changes that are not committed, and a master behind origin. When origin moved during the release, the push is refused and nothing goes out: ship undoes its commit and its tag, merges origin/master, and tries again with the next number, three times at most. --dry-run prints the number, the commands and the release, and writes nothing.
  • The console colors each field by its value kind. An Integer field of a record states its integer unit in its description, from a type of the contract such as value_kinds.Size_In_Pages, and the checks of a record, of a replacement and of an import declaration compare it. The console draws a size and a time of a table or a record in the color of its kind, a time in the color of the boot program and a size and a number in the color of memory, with the unit once in the head of a column (time (ms)) or after the value of a record (120 ms). The palette shows the same colors. memory(), modules(), measure_completion() and monitor.programs() state their units: their fields are now memory, free, used, reserved, budgets and free_no_budget_holds in memory(), size in modules(), collect, rank, rows and colors in measure_completion(), and resident in place of pages in monitor.programs().
  • AltGr on the layout of France. With the layout of France, AltGr (the right Alt key) with the keys of the row of the digits types #, {, [, |, \, ^, @, ] and }, and with the key of $ types ¤. AltGr with the key of 2 and of 7 gives the dead keys ~ and `, which type ã, ñ, õ, à, è, ì, ò, ù and their capitals, such as À. AltGr with e types no euro sign yet: the fonts do not draw it.
  • An entropy device. A machine with the entropy device of virtio (virtio-rng-pci) starts the entropy service, and the root service mixes 64 bytes of the device into the generator that seeds each program after it, beside the sources of the processor and never in their place. A read of zeros, of one value, with no byte, or equal to the read before adds nothing and counts as refused; the seed strength does not change. A machine with no such device starts as before and says so on the log, and the window of randomness shows the device.
  • The program manual opens the links of a page. A link to a term of the glossary or to a heading of a guide opens its link page, which the boot image carries in the new resource manual_pages, and a link to a record opens the page of the module that describes it. Tab and Shift+Tab move the focus between the links that open, Enter opens the link with the focus, and Backspace goes back to the page before. An address of another host is shown after its link and does not open. The table of all the modules moved from Tab to the key o.
  • A change of the passphrase of a named principal. In a console of the session of a named principal, passphrase_change() opens the window of unlock, which asks for the current passphrase (the TPM counts a wrong one) and then for a new one two times; recovery_key_change() asks for the current passphrase and shows a new recovery key one time, and writes the file only after Enter. The window and the line of the console both give the end of the change: what changed, or why nothing changed. The keys stay the same keys. The console of the machine cannot ask, and a lock during a change stops it.
  • Error details for the kernel operations. A kernel command can name a table of error details: bit 31 of its kind, and the address of the table in its last value (system.call_with_error_details). When the kernel refuses the command, the table gets the error record, then one error detail for each other argument that the kernel finds wrong: a handle, a count above its limit, an unknown flag, a choice out of its range. A table that is too small holds the first details and counts each one. A command with no table runs the same lines of the kernel as before: only the default branch of the dispatch, which already refused an unknown operation, reads the bit. Log and Guest_Run take no table. No kernel operation is added.
  • The euro sign. Each font of the system draws €, and AltGr with e types it on the layout of France, so a principal writes a price such as 5 €. € is the first added character past the Latin-1 Supplement: the glyph cache is version 4, with 192 characters, and the module text_shaping takes 192 advances.
  • The history of each measure, release by release. Each release keeps a copy of the measure record in docs/measures/releases/, which modustool changelog release writes when a full check measured the release, and modustool measure-history gives the old release tags their copies. The page of the measured numbers draws one chart for each measure over the releases, from zero, with each number, its commit and the noise of the host.
  • The program manual shows a declaration that no module describes. A link of the documentation of a module to a procedure, a type, a constant or a global variable of a support package or of a contract package, such as system.word_wait, opens its page: its file and its line, its one line of Odin and its comment. The build takes the page from the source, and the resource manual_pages holds one page for each such link.
  • A dropped write found before the next commit. Each commit of the storage service now reads back the blocks that it wrote before it writes its root, then reads back its root. When the disk answered Ok to a write and did not keep it, the service refuses the commit with Device, unit Dropped_Writes, writes one line, and goes on at once from the commit before it, with no restart: the program loses that one commit, never the state of an object, and no root of a refused commit reaches the disk. The erase of versions reads back its second root and its zeros too, and counts as zeroed only the blocks that read back as zeros. storage.stores() gives the commits refused, the blocks read back and the time of those reads as a measure.
  • Glyphs drawn on demand: the new font service glyphs draws characters past the 192 of the glyph caches into a demand cache that each program maps read-only. It draws its whole subset, the 47 Greek letters of B612, at its start, so the cache tells no program what another draws. The program interface_font shows the Greek letters.
  • Processor counters for a program. A thread counts the instructions retired, the cycles, the cache misses and the branch misses of its own code, in user mode only, with three new commands of Thread_Control: Start_Counters, Read_Counters and Stop_Counters (system.thread_counters_start, system.thread_counters_read, system.thread_counters_stop). The start and the read take the machine handle with the new right Counters, which the root service gives by the new start grant Counters: a count of the misses of a shared cache is a side channel, as a precise clock is. The stop needs no right: it only takes a capability away. The kernel keeps the counts of a thread at each switch, so no count of another thread or of the kernel reaches it. The kernel programs the general counters of Intel (leaf 0xA) and of AMD Zen (the core counter extension); on a machine with neither, the commands give Unsupported. The program counters counts a loop of 1 000 000 turns and the same reads of 2 MiB in two orders. No kernel operation is added.
  • The deepest stack of the kernel, measured. Each build prints the deepest chain of calls on the kernel stack of 16 pages, procedure by procedure, with the bytes that stay free, from the frames that llc writes and the calls of the linked kernel. It counts the two frames of execute of a command with a table of error details and one interrupt over the idle wait, and the build fails when less than 4 pages stay free.
  • A dark and a light appearance of the desktop: the setting appearance takes auto, the default, dark or light (settings.set("appearance", "light")). With auto the desktop is light from 07:00 to 19:00 and dark at night, by the hours of UTC until the time zone is a setting. At a change each window draws once in the new colors: the background, the bar, the windows, the palette, the console and the windows of the interface package. The colors of the design rules are one table with a value in each appearance, and host tests compute each contrast that the rules name in both. The boot display stays dark, and the colors that a program owns keep their dark value. A test machine now has a real-time clock at 01:00 UTC of the day of the host, so the pictures of the tests are dark at any hour.
  • A program reads its own log records. A caller of the log service that does not act for the principal now receives its own records from log.records(after) and log.value_runs(after), in place of a refusal: the records with its program slot and its program serial, which the kernel now writes in each log record with the own number of the record among the records of its program. Its rows, its after and its lost count its own records only, so it receives no number or count of the records of other programs, and a new program in the same slot does not read the records of the program before it. A reader of the log never keeps a record that the kernel was writing over during its copy. The program log_reader checks it in the machine test, in two runs.
  • The action bar. The line of keys at the bottom of a window is now the action bar of the interface package: each item is its key combination drawn as keycaps, then the name of its action, with a divider between two items, in the colors of both appearances. A press on an item runs its action, as its key does. The items that do not fit go into a list behind a button more, by the priority that the program gives; the list opens upward and takes Up, Down, Enter and Escape. A window can wrap its items on two rows instead. manual, the terminal, settings, notes, the debugger window, unlock, interface_elements, tally, rings and paint use it.
  • A starter reads the log records of its children. The log service has two new exports, program_records(program, after) and program_value_runs(program, after). They give the records of the program whose program handle the caller lends with the right Read, numbered by the own numbers of that program, and no record of another program. A starter holds the handle of each child, so a test reads what its children wrote without the right to read the whole log. A grandchild is read only with a handle that the child gives. A handle that names no program gives the error record Handle_Kind. The program log_reader starts two children and checks that it reads the one record of each child, and none of an earlier run.
  • A measure of the similarity of the code. modustool similarity gives a similarity score from 0 to 1 to the code pieces of the Odin sources, groups the similar ones in families with the factoring template that a procedure can take and its blanks, and ranks the families by the syntax nodes that a factoring saves, each node counted once, with a home that obeys the import rules. similarity near <file>:<line> lists the procedures most similar to one, and similarity pair gives the score of two. It never edits a source; a family kept on purpose is a line of tools/modustool/similarity_kept.txt.
  • The machine passphrase and the TPM together. On a machine with a TPM and Secure Boot on, machine_passphrase() has the TPM seal the machine key with the passphrase, in the record MACHINEP: the TPM counts each wrong machine passphrase, another system opens nothing even with the right one, and a recovery key, shown one time, opens the key and then seals it again to a new machine passphrase. A machine with no TPM, or with Secure Boot off, keeps the record under the passphrase alone, and a machine key sealed by the TPM with no passphrase keeps its form.
  • The time zone as a setting: the setting time_zone is a fixed offset from UTC, from -12:00 to +14:00 by quarters of an hour, with +00:00 as the default (settings.set("time_zone", "+08:00"), or a row of four buttons in the window of settings). The bar shows the local date and time, and the setting appearance auto turns light at 07:00 of the local time. The zone has no summer time: a principal in a zone with summer time changes it twice a year. The date of the system stays in UTC. The kept record of the settings has a new version, so the settings of an older disk read as the defaults once.
  • A machine test of zeros that the disk does not keep: in modustool test principals, the disk of the change of the passphrase answers Ok to the write of zeros over the old file of the principal and keeps its bytes. The test checks the line of the storage service that reports the block, checks that the row of the erase counts only the zeros that the disk kept, and finds no part of the old file outside that block of the image.
  • Fresh bytes for a running program. Every 30 seconds the root service reads 32 bytes of the entropy device, mixes them into its generator, and writes 32 bytes of its stream for each program in that program's own fresh bytes page (modus:contract/fresh_bytes, the fixed range Fresh_Bytes_Page), which it maps read-only into each program that it starts by its name, into the compositor and into each disk program. The generator of a program mixes a new change of its page into its key at its next refill and before a key or a child seed, never at each draw, so a key that a program makes late in its life has bytes newer than its start, and a reader who copied the state of a generator once loses it at the next mix. The first refresh writes one line of the log, a refused read one warning, and after 3 refused reads in a row the root service reads no more; a machine with no entropy device writes no fresh bytes. The window of randomness shows the mixes of its generator in a new row.
  • The recovery key of a named principal with no wrong try. The passphrase prompt of a named principal whose keys the TPM seals has the item Ctrl+R "recovery key" in its action bar, as the prompt of the machine passphrase has: it asks for the recovery key at once, so a lost passphrase costs no try that the TPM counts against the principal and the machine. Enter with nothing at the recovery key goes back to the passphrase.
  • The font of the cells on demand. The font service also draws the 128 box-drawing characters, the 32 block elements and the five Greek letters of Paper Mono (Λ, Ω, λ, μ, π) at its start, in Paper Mono with and without the grid fit and in Paper Mono SemiBold, and the terminal draws them in its cells: character(9472) + character(955) in the console shows ─λ. The demand cache keeps the glyphs of each of these glyph caches apart, and grows from 1 150 976 to 4 395 008 bytes.
  • The client keys of remote across a restart. A client key that a principal allowed with remote_allow is now also a key of the disk grant table of that principal, under the tag of the table, so it lasts across a restart of the machine as the other grants of the principal do. After the read of the table, at the unlock of a named principal or when principal 0 gets its machine key, the key holds again with no new allow. A key that two principals allowed, one in the run and one in its table, is contested: it acts for neither of them, and remote refuses it in the handshake, until one of them revokes it. remote_disallow takes the key out of the table and is never refused: it starts the writes of a table whose writes failed again, a read of the run takes out a key revoked before it, and its result is now a sentence that says when the key can come back from the disk at the next start. An allow is refused while the table takes no change, as a change of a disk grant is. remote_clients() has a new column state: holds, locked or contested. The persisted table has the format 2, with 1136 bytes; a table of the format 1 is refused as an older format that this system does not read.
  • The byte layout of each record of the module file: the guide of the module contract shows the header, the table directory and one record of each table as a diagram in rows of 8 bytes, with each field as a rectangle over its bytes, its type and its comment under the pointer. The tool takes the offsets and the sizes from the compiler and the types from the source, writes the same layouts as text in the guide, and modustool check fails when that text differs from the code.
  • One shared domain for the devices behind a conventional bridge. The devices behind an older bridge of PCI, which give their accesses one shared requester, now work with the IOMMU on: they have one domain, which the kernel makes at the first declaration of a service only when that service holds the registers of each of them, and ends when it no longer holds one of them. A declaration that misses one gives Bad_State, with one line of the log that names the device. A device of the group whose registers come later, and that the service does not hold, ends the domain, and the message interrupts of the group arrive only while the domain lives. The root service gives every device behind such a bridge to the service of the first one that it starts: the registers of each other device come in the grants after its own BARs (pci.GRANT_BRIDGE_DEVICE). On AMD, the alias of the table IVRS to the shared requester is accepted when each of its sources is behind the bridge. The machine of modustool test iommu_amd has its disk of the measures and an entropy device behind a conventional bridge.
  • Fuzzing of the borders of the system: modustool fuzz gives the readers of the module file, of the debug object, of the storage format, of QUIC and TLS, of TCP and of HTTP millions of inputs on the host, guided by the edge counters that LLVM adds to their packages, and minimizes each fault that it finds. modustool check runs the corpus of each fuzz target and a fixed count of new inputs with the seed of the sources.
  • A fallback chain of fonts by script. A character past the glyph cache takes the first font of the chain of its script that has it, drawn on the baseline and at the cap height of the first font: the cells of the terminal draw the Greek letters of B612 that Paper Mono lacks (character(945) shows α), and the interface draws the box-drawing characters of Paper Mono. At its start the font service writes what each chain draws: 47 of the 49 Greek letters (no font has Π and ρ) and none of the 96 Cyrillic letters.

Changed

  • One source library for a program of a third party: everything that becomes the system is in the folder src, and the code that the programs share is one source library, modus, in src/library. A source imports a package by one name, import "modus:support/system" or import "modus:contract/ring", in place of "support:system" and "contract:ring", and the compiler gets one flag, -collection:modus=src/library, in place of two. A program outside the repository writes the same import lines and gives the same flag. The kernel gets the same library as a program, so the tool, not the compiler, now refuses an import of a support package in the kernel or in a contract package: each build stops on it with the file and the line, and modustool library-imports runs that check alone.
  • The icons of the site from the generator of the mark: the icon file, the vector icon, the icon of a phone and the icons of the manifest are rows of the one table of the files of the mark, which modustool mark uses prints. The vector icon icon.svg is now the cells variant, one rectangle of one color for each run of cells, so the browser computes no color of the heron; the other icons keep their pixels.
  • The tool of the project is modustool. The command kerneltool and the folder tools/kerneltool have the name of the system: nix develop -c modustool <command>, in tools/modustool. The tool builds the whole system, not only its kernel. Each line that the tool prints starts with modustool:.
  • The QUIC library follows two more rules to the letter. Each PATH_CHALLENGE of a peer gets its own PATH_RESPONSE, for at most 8 challenges that wait; before, a second challenge replaced the first. A known extension of TLS in a message where the standard does not specify it now fails with illegal_parameter, and no longer with unsupported_extension.
  • A module states the budget that it asks for. A module file has the new table Budget: the pages, the programs and the threads that its source states in the constant MODULE_BUDGET, with the reasons in its comment. The root service gives a program of the boot image its request up to 16384 pages, 8 programs and 32 threads, writes a line on the log when it gives less, and keeps two exceptions, each with its reason; a module with no request gets 2048 pages, one program and one thread. A disk program gets its request up to 8192 pages, one program and 4 threads, from one budget of 16384 pages, 4 programs and 16 threads that pays all disk programs, so a file of a disk cannot take what the programs of the system need. A start that fails for the budget names the part that is short. The new table changes the hash of each module.
  • The focus of a button is a white frame. A button with the focus has a white frame of 2 pixels inside it. A button that is open, or that shows the value in use, is blue already, so the blue of the focus alone did not show where the focus was: after a go to of the palette, the frame shows the button that the palette went to.
  • The tool counts the parts of the budget that a module asks for. The constant MODULE_BUDGET of a source now has the type system.Stated_Budget and states only what the tool cannot count: the working memory, the programs, the threads and the size of the window, as the constants WIDTH and HEIGHT that the program passes to display.open. The build adds the pages of the module and of each module that it imports, 68 pages for the first thread and 19 for each other one, and the two pictures of the window, and writes the sum in the table Budget; a module that grows asks for more with no change of its source. modustool test descriptions prints the four parts of each request, and the measure of a build has one line with the request of each module. The 39 programs that state a budget ask for the same totals as before.
  • A send with no copy in the network service. The network device reads the data of each datagram and segment that a program sends from the datagram region of that program: the network service copies only the first 8 bytes of the header, for the check of the ports, and writes the headers of IPv4 and Ethernet. The frame service holds each datagram region with the right Read only, as a read region (the commands Read_Region_Add and Read_Region_Remove of the frame contract), so on a machine with the IOMMU the device reads it and cannot write it. The completion of a Send now comes when the device read the datagram, not after a copy: a program writes its place again only after it. When an endpoint ends, the log says how many bytes of the data the network service read on send: 0.
  • The programs that show a picture import the drawing module. A Picture record now names its pixels by values: the number of its picture memory, the index of its first pixel there and its stride, in draw record version 8. The drawing module reads one picture memory of the program in place, and its exports are damage_of_draw_table_8 and execute_draw_table_8, which draws one damage rectangle for each call. heron, life, paint, plasma, processors, temple, threads and workers draw their windows through it: 32 programs in all. The terminal and the compositor keep the interface package compiled in.
  • The terminal and the compositor import the drawing module. A Text_Grid record now names its cells by values: draw_text_grid copies the cells into the text table of the frame, and the record holds their first byte, their bytes and the columns, in draw record version 9; the exports are damage_of_draw_table_9 and execute_draw_table_9, with the same six parameters. The compositor draws its screen table in parts, one call for each window that a damage rectangle meets and one for the bar, each with the one picture memory of its surface. 34 programs draw through the module; the interface package has difference_through_module and draw_part_through_module for a program with no window layer.
  • An export takes more than six parameters: an export takes up to 12 arguments, its parameters, the buffer of a result and the error record included; the first six go in registers and the others on the stack, as the C convention of the machine passes them. The console, the call from the host, a call host and a service call such an export, and the tool describes it and checks the declaration of its import. The module format is version 2, with a description of 168 bytes for each export, so a module of an earlier release does not load. The palette lists no command with more than six parameters: the console line calls it.
  • Text is UTF-8 in every contract: the palette table (version 6), the result runs, the candidates, the typed values of the palette, the records of the terminal and the names of the objects of a store hold UTF-8 in place of the bytes 32 to 126, checked at each border by one rule that refuses an overlong form, a surrogate, a code point above U+10FFFF, a broken sequence and a control character. A writer cuts a text after a whole character, the cells of the terminal hold one character each (a cell of a text grid is a code point of 16 bytes: draw record version 10, exports damage_of_draw_table_10 and execute_draw_table_10 of the drawing module), and a character that the font lacks draws one replacement glyph, a box, never a byte. The names that are identifiers of the system (modules, exports, fields, settings, programs, channels of the log, and the name, act name, setting row and value of a palette entry) stay ASCII. A name of an object of a store with a control character or bytes that are not UTF-8 is now refused.
  • The IOMMU covers several units, bridges and reserved ranges. The kernel programs up to 4 remapping units of Intel, as a real machine has, and gives each device the unit that the firmware names for it. A device behind a bridge of PCI Express has its own domain; a device behind a conventional bridge gets none, with one line on the log, because every device behind it shares one requester. A device that a reserved memory range of the firmware names keeps that range, so a machine with such ranges runs with the IOMMU on, and no program gets the range. An invalidation forgets only the domain of the device that changed. A domain lives while its service holds or maps the registers of the device. On a machine with the IOMMU, Memory_Physical accepts a memory object that is not contiguous and gives a device window where its pages follow each other, so the datagram region of an endpoint no longer needs 512 KiB of contiguous memory when the unit of the network device gives such windows; Device_Create of the registers of a device says whether it has a domain and windows, and Boot_Report.iommu_unit_count says whether an IOMMU is in use. Memory_Map refuses to map the registers of a device with a domain into another program. The test machine with the IOMMU has its disk of the measures behind a root port.
  • The drawing exports take the rectangles of a frame in one call. The draw export of the drawing module is now execute_draw_table_in_rectangles_10: it takes the shape of the canvas (Canvas_Shape) and a table of up to 8 damage rectangles, refuses more with Too_Long, and draws them in order with the same pixels as one call for each rectangle; execute_draw_table_10 is gone. A window crosses the border of the module 2 times for a frame with damage, where it crossed it up to 9 times, and draws all the rectangles of one frame in one font. The compositor makes one call for each part of its screen with all the rectangles that the part meets: at most 18 calls for a frame of 8 rectangles over 17 windows, where it made up to 144.
  • The temple of Jon is now a Hall of fame: the program hall_of_fame replaces temple. It shows the 16 people whose work inspired modus, each on a card with the name and one line on what they made, in whole rows that the arrows, Home, End, the pointer and a scroll bar move. Five cards have a portrait with its author and its license under it; the others have no picture. The command modustool portraits replaces modustool portrait, and the page of the licenses has one row for each portrait.
  • The machines of the TPM run in the full check. modustool test trusted_boot now runs the two machines of the measure, and modustool test principals runs the six machines of the machine key sealed by the TPM; the forms test trusted_boot tpm and test principals tpm are gone. The lost answer of the software TPM was a fault of QEMU 10.2 with its io_uring main loop, and the development shell now builds QEMU without io_uring: in two runs of each part, each of the 16 machines of the TPM had one Startup and no abandoned command.
  • A release gives its time: the heading of a release in the changelog gives the day and the minute in UTC, ## [0.93.0] - 2026-11-15 18:48, so two releases of one day keep their order. The releases page shows the time with "UTC", and the feed releases.xml gives the true time in place of 00:00. Each release has a release link at the end of the changelog, to its release tag. modustool changelog times gives an old heading the time of the commit of its release, and adds the missing links; an old release whose commit is not known keeps its day alone.
  • The reuse list of the properties is checked. The reuse list of docs/PROPERTIES.md now names each work of others that the system ships or copies: the font subsets, Spleen, the Posy pointer theme, the cryptography of Odin and fiat-crypto, the runtime of the Odin compiler and core:reflect, and each portrait of the hall of fame, with its SPDX license and its license file. The candidates that the system does not use, the designs and the tools of the host left the list. modustool check refuses a work with no row, a row for a work that the repository does not hold, a license that is not the recorded one, and a missing license file.
  • The machines of Secure Boot with a TPM. The machines of modustool test principals that seal the machine key and the keys of a named principal now run the firmware with Secure Boot on and a software TPM, on signed volumes, so the seal is tested on the rule of a real machine. The test build of the root service that sealed with Secure Boot off, and its two boot volumes, are gone. One machine starts the same system with Secure Boot off: only PCR 7 differs, the TPM refuses, and no new seal is made.
  • A release image holds the pointer theme of the system only. modustool release image builds its boot image with the MIT pointer theme of the system, and refuses to package a boot image that holds the Posy theme, by its resource name or by the CC-BY-NC-4.0 license in the header of any pointer theme file. The release workflow and the checks of the flake no longer fetch the Posy theme; the default development shell keeps it.
  • Every service gives an error record. Each export that fails now gives an error record, not a bare negative number: manual.show, fill, total and span_total of sample, keep, hold and look of hostile_exports, and the six draw exports of interface_module. The console prints why the call failed, as error: manual.show: the argument name names none of the modules (-1). A refusal of the kernel inside an export names the argument of the export. modustool check refuses an export that gives -1, a negated status or a negative constant with no error record.
  • A name that names nothing gives an error record. manual.about, manual.signature, manual.problem and settings.get with a name or a number that names nothing, storage.stores for a caller that does not act for a principal, and next_prime above 2^40 fail with an error record, where they gave an empty text, 0 or the text "no grant to see the stores". The console then writes the sentence, for example "error: manual.about: the argument name names none of the modules (-1)", and a caller tells an empty answer from a failure.
  • The pointer theme of the system has smooth edges, two forms and accents. Its 15 shapes are outlines that the build draws with exact coverage at 24 and 48 pixels, in place of grids of squares: a fill inside an edge of 1 pixel at both sizes, with each level and upright edge on whole pixels. The dark form is white in a dark edge, the light form dark in a white edge; the compositor draws the form of the appearance in force, and changes it with the appearance at the next frame. The arc that turns in wait and busy_with_arrow and the question mark of help are in the blue of the focus, the slash of forbidden in the red of "stop a program", the dot of crosshair in amber. A pointer theme file has the version 2, with a form count, and a pointer manifest names its layers by role and its colors by token.
  • The light values of the colors that programs own. Each window of the twenty programs that drew colors of their own (monitor, clock, log, manual, rings and others) now takes each color from the color tokens by its meaning, so it follows the light appearance with 4.5 to 1 for each text: the kernel entries are in the kernel blue, the pages in the color of memory, a wrong answer in the color of a failure. Three tokens are new: the warning color, the link color and eight series colors that tell apart the threads, the programs of the log, the records of a ring and the protections of a page. The boot display and the stage of heron stay dark.
  • The window of the log tells the records gone before its start from the records that it lost: its top line and its line "log: ok, ..." now give two counts in place of one. "Gone before its start" counts the records that the ring no longer held when the window started, and says only how long the machine ran before it. "Lost since" counts the records that the window was too slow to read, and only that count is red when it is not 0. The main machine test requires "0 lost since", so a new line of the log before the window starts no longer fails it. The window no longer writes its count of the records of the kernel in the channel boot, which depended on the same length; it writes the records and the size of the memory of the log in its place.
  • The pushes and the indirect tail calls in the measure of the kernel stack: the build now follows the stack pointer through each compiled procedure of the kernel. It adds the arguments that a caller pushes outside its frame before a call (32 bytes before thread_create in execute), and it takes a jump through a register where no frame stays as a tail call that needs a row with its targets. A chain in the measure line shows "(... bytes pushed for the call)". A ret or a tail call that finds bytes on the stack stops the build, so the scan proves its own reading. The margin of a quarter of each stack is now only for a chain of the graph that no input runs.
  • A machine whose hypervisor refuses the counters that it lists still starts: each processor tries each access to the registers of the performance counters once at its start, before any thread runs, and a protection fault of that access is an outcome and not a stop of the machine. When the processor refuses an access, when a counter does not keep the value that the kernel wrote, or when the firmware left a counter on for another user, the kernel uses no counters, names the register on the line of the boot, and the commands of the thread counters give Unsupported. The self test 7 of the kernel proves the way back from a refused register on the test machine.
  • The roadmap has a section Maybe: an optional last section holds what may be done one day and is not decided, and each of its entries says the ways open and what each waits for. The page Roadmap of the site shows it under the three columns, and the work that waits for a machine, a host or another project moved there from Next and Later.
  • The screen shows each frame of the compositor whole: on the standard VGA of the test machine, the compositor writes each frame into the one of two screen pages that the display does not show, then a page flip of the display registers of Bochs shows it in one step, so a window that changes many times a second never shows a cut between two frames. The compositor reads each flip back, and goes back to one screen page with one line of the log when the display refuses it. compositor.screen() gives page_flips and frames_on_the_shown_page, which the main machine test requires to be 0. Device_Create has the kind Display_Memory: device memory over the video memory of a display, mapped with the page attribute of the framebuffer of the firmware and not with no cache, and accepted only for a range that holds that framebuffer. QEMU has no vertical blank to wait for.
  • Every window draws characters on demand. Each program draws a character past the glyph caches itself, from the font outlines of the boot image (the new resource font_outlines), into a private glyph cache that its own budget pays and that no other program reads, so the labels, titles, menus and cells of every window, of the compositor and of a program from a disk show the Greek letters of B612 and the box-drawing characters of Paper Mono. The advance of such a character comes from its font file, and a frame never waits for another program. The font service draws its fixed subsets into the demand cache at its start, then ends; the request ring of each program and its budget of requests are gone. The first draw of a glyph costs 3 to 46 µs, once in each program (on an AMD Ryzen 7 5800X), and the cache keeps 256 KiB of glyphs, which it evicts in the order of their last use.
  • The check of the imports covers the whole system: modustool now reads each source of src/, refuses a package of core: in a source that is not a test, and refuses a test that imports one with no #+build !freestanding as its first build line, with the file and the line of each breach. The files that the manifest of the cryptography of Odin names keep the imports of their origin.
  • The transport parameters that a side sends have a record of their own: transport_parameters_write of support/quic takes a Sent_Transport_Parameters, which has a field only for each parameter that the system sends, so a value that the writer would lose cannot be set. The writer refuses, and writes nothing for, each record that would not read back to itself: an identifier that only a server sends in the record of a client, a server with no original_destination_connection_id, an identifier length out of range, and a value that the reader refuses. transport_parameters_of_sent gives the record that a reader finds in the bytes.
  • An idle timeout that QUIC cannot carry is refused at the start: connection_start_client, connection_start_server and server_init of support/quic give Bad_Value with the unit Milliseconds for an idle_timeout_milliseconds over 2^62 - 1, in place of a Too_Long of the transport parameters later. A record of transport parameters that the writer refuses is now Bad_Value too; Too_Long means only that the parameters do not fit.

Removed

  • The record documents are gone: each design is in its intent file. The records of the decisions, of the choices of each step, of the reviews and of the hand-off are removed from the repository. The status page shows each property with what the test shows of it, with no list of gaps, the home shows no count of steps, and the planned work of those records is on the page Roadmap.

Fixed

  • A window never shows a picture that is being drawn. The surface of every window has two pictures: its program draws one while the compositor reads the other, and the compositor shows a picture only when it is complete. Before, 48 of the 51 programs with a window drew in the memory that the compositor read, and the screen could show a part of a new picture with a part of the old one. A program writes no code for the rule, the option two_pictures of display.open is removed, and compositor.windows() gives for each window the count pictures_drawn_again, which is 0 for a program that keeps the rule.
  • The pointer over the scroll bar of a terminal is the arrow: the pointer kept the text shape over the scroll bars of a terminal window, such as the window of the console. It is now the arrow over a scroll bar and while a scroll bar holds the press, and the text shape over the text.
  • No text over a text, and no cut text, in five windows. A text that is wider than its place in a window now goes on more lines: a line ends at a space, and a path or a long name ends a line after a /, a : or a _. The program manual draws a long name of its list on two lines and no fact of a page over another; errors and inspect show each frame of a stack trace whole; notes shows its keys and a version of 60 characters whole. The same rule holds in the other windows that had the fault: the answers of fetch, net, imports and tables, the sentences of quic_echo, return_fault and fault_ring, the targets of the requests of server, the columns of pages, the measures of interface_font, and the name of the processor on the boot display. The window of log shows each text whole and breaks a line at a space, where it cut a text at 80 characters and showed a word in two parts. The windows of extended_state and fault_ring fit the screen with their borders. A card that cannot show each of its rows says how many it does not show.
  • The picture of the program notes after a stop shows its note. The picture notes_crash was taken before the program drew its first picture. The program now writes a line after that picture, the test waits for it, and the gallery of the site shows the picture.
  • A picture of the screen waits for the terminal that draws a window. The tool took a picture when the program of each window was at rest. The window of the console is drawn by a terminal, which the condition did not read, so a picture could miss the completion list. The condition now reads each terminal too.
  • A machine test takes no picture while a window owes one: a program that draws on its own clock, such as a terminal, now tells the compositor when a change waits for its next picture (display.picture_due_set), and compositor.windows() gives it in the field due. The condition of a picture of the machine tests waits until no window has a due picture. Before, a picture of the console could show the head of a table without its row.
  • A virtio device service takes the places of the registers only inside its memory: a capability whose registers are not inside the memory of its BAR, or a notify register of a queue outside the notify registers, is refused, and the block, frame and entropy services stop with a line that names it, in place of a fault on an address that is not mapped. The size of each queue is a power of two, so its counters stay in order when they wrap.
  • The tail of the arrow pointer sits on its axis. The tail of the system arrow now leaves the head centered on the bisector of its point, in place of hugging the notch, in the arrow, the busy arrow and the help arrow.
  • The share policy counts a thread that starts and ends between two rounds. A program could create threads just after a round of the share policy that ended before the next one: no round saw them, and each one had the whole program weight. A thread and a program now each have a new-thread weight limit, which only the machine handle writes: a new thread gets the smaller of the two as its weight limit, and Thread_Create refuses a weight above it. Two new commands of Thread_Control, Read_Program_Schedule and Write_Program_Schedule, read and write the value of a program. The share policy writes the program weight divided by 32 to each program before it reads its threads, so after the first round of a program the threads that no round saw sum to under one program weight. op.Thread_Schedule grows from 12 to 16 bytes, and a new-thread weight limit above 1024 is refused. The kernel still has 33 operations.
  • A log record is never read half written. A reader of the log, the window log and log.records included, could keep a copy of the oldest record of the ring while the kernel wrote the next record over it: the head of one record with the text of another. Such a record now counts as lost, as the records that the kernel wrote over do, so a reader copies the last 2046 records at most.
  • A word that names no choice is refused, and never read as a known one: unlock stops with a line of the log for a mode that names no mode, where it ran an unlock; a seed whose strength names no strength is refused, where it was read as the strongest; the root service refuses a word of the root ring that names no action, state, change or origin; the console says that a state of a client key or a cause of a refused change names nothing, where it showed "holds" or "the mode is not a change"; a twin of frames stops for a mode that names no mode, where it slept. modustool rule-checks refuses a family of integer constants that the code uses as a closed set of choices.
  • A terminal that always draws the end of an output: a record that comes while the terminal draws a picture now makes a due picture before the terminal waits for its next frame. Before, the terminal waited up to 16 ms with that change and said that no picture was due, so a machine test could take a settled picture of the console that showed a running call and not its result. The stop of the program of a terminal now ends its wait at once, where it waited up to 250 ms, and a frame whose Present did not reach the compositor is drawn again at the next frame, where the older picture stayed until the next record or key.
  • The serial port keeps up with an idle machine: since Log stopped writing the serial port, only the ticks wrote it, 100 µs at each, about 4.5 KB in each second for a processor under KVM, where a port write costs 22 µs; the boot writes about 120 KB of lines, so the serial port lagged the system by seconds, and a test that acted on the moment of a line acted too late. A processor with nothing to run now writes the serial port at the rate of the port, with a window for interrupts after each byte, and leaves at once when a thread becomes ready or an interrupt comes. On a machine with an idle processor, a line reaches the serial port about when its program goes on. A machine whose processors are all busy still drains at the ticks only. The measure line of the drain now says the bytes of the idle loop and of the ticks, and the serial port ends each run with the largest lag of a line.
  • One debug record for each int1 under KVM on AMD: KVM with SVM before Linux 7.3, on some AMD processors, gives an int1 whose delivery it cut again as a fault at the int1 itself, so the program got two Debug records, the first at the address of the instruction with the status 0. The kernel now drops a debug exception with no status at a byte F1 whose byte before is not F1 or cannot be read: the thread runs the int1 again and gets its one record. A cut int1 after any byte F1 (another int1, or an instruction such as 89 F1), or with a prefix, still gives its record two times. The root service no longer sizes the base address registers of the standard VGA while the screen shows it: that turned its memory off, and under KVM it threw away every nested page table of the machine, which made the case int1 of test fault_ring fail at each run on an AMD host.
  • The cut of a loss of power at a counted commit: in modustool test power, the disk that the tool serves counts the commits itself and loses its power at a commit that the case names, so the cut falls in the loop of range commits of ranges, in the count of notes and in the records of settings.repeat(1000) whatever the speed of the machine and the lag of its serial port; before, the tool cut a few writes after it read a line of the log, and the cut of ranges often came after the end of its loop, so no write came and the test failed.

Security

  • A module replacement needs a signature. The root service no longer writes any pair of modules that the console names into the replacement table: a replacement puts the code of another module into each importer, such as the drawing module into the compositor and the terminal, with all their memory and handles. It writes a replacement only for a replacement row of the boot image, the resource replacement_list, whose Ed25519 signature over the old hash, the new hash and the importer scope verifies under the signing key of the system. The build signs the rows with the key that signs the system description. replace("calendar", "math") is refused with "root: refused the replacement of calendar by math: no signed row of the replacement list names it", a row signed by another key with "... the signature of its row does not verify under the signing key of the system", and the importer keeps the module that its import names.
  • The kernel checks the text of a line of the log: a program that called the operation Log itself could write a carriage return, an escape sequence or a control character of C1 to the serial port, and forge or hide a line on a terminal of the host; a program could also name a child program with such bytes, and that name starts each line of the child. The kernel now writes ? in place of each byte of each invalid sequence of UTF-8 in its copy of the text, ends a record of the log after a whole character, and Program_Create refuses a name with a byte outside the visible characters of ASCII (Bad_Operation).
  • A share of a tree no longer reaches the root of its store. The holder of a share of one tree could call storage.open_store with the name of the store of its maker, get a place on the root of that store, and read and change the whole store. A share now names no store: open_store refuses it with No_Grant, unit Acts_For_Principal, as for any other store.
  • A share of a tree sees the counts of its own tree only. storage.usage() through a share of a tree gave the counts of the whole store, so its holder could learn whether the rest of the store holds the bytes of an object of its tree, or whether the maker wrote bytes that it guessed. It now gives the objects, the trees, the versions and the blocks of that tree only, from a walk of at most 4096 reads; a larger tree gives USAGE_NOT_COUNTED. A root that the storage service finds damaged now leaves the hash index, so a rewrite of the damaged object can share its blocks again.
  • A lockout authorization value that the TPM service sets: before the first seal or unseal with a passphrase in a run, when the lockout hierarchy of the TPM has an empty authorization value, the TPM service sets a random one that nothing keeps, and at each start it writes the count limits of the TPM on the log. Before, any other system on the machine could reset the count of the wrong passphrases of a named principal, or change its limits, with TPM2_DictionaryAttackLockReset or TPM2_DictionaryAttackParameters, and then guess in the window of unlock at the cost of Argon2id alone; now the TPM refuses both to every system. A start that uses no passphrase with the TPM leaves the lockout hierarchy as it found it, a value that is set already is left as it is, and a clear of the TPM needs the menu of the firmware.
  • A system description that cannot be rolled back: a signed system description stayed valid for ever, so an older system with a known flaw, or a system that a stolen signing key signed, started on each machine. Now the TPM keeps floors that only rise: the boot program refuses, before the kernel starts, a boot program whose key number is below the key floor, and a system description whose security version is below the version floor of its key number. With Secure Boot on, the boot program then raises the floors to its own numbers before it measures the system, under a policy that no kernel or program satisfies, and it replaces an index that another system planted. The header of the system description has the security version (format 2, 24 bytes), and resources/keys/key_numbers gives each signing key its number, the key of the publisher 2 (docs/TRUSTED_BOOT.md, "10. The TPM floors").
  • The old versions of the file of a principal are erased. A change of the passphrase or of the recovery key of a named principal, and the new seal after a recovery, left the file from before as a version on the disk, which opened with the old secret. Now unlock erases the versions of the file after each such write and after each unlock that the current file opens: the new export storage.erase_versions(place, name) ends each version of an object in one commit, reads its blocks back, writes the root again so that no root on the disk names a freed block, and then writes zeros over each freed block that no other state names. Only a program with the new start grant Versions_Erase may call it; today that is unlock. A loss of power leaves the versions or none. A copy that the disk device or the host keeps under the blocks is not reached.
  • A grant for the key of a client of remote. A client of remote now proves an Ed25519 key of its own in the QUIC handshake (mutual TLS 1.3 with raw public keys), and remote takes only a key that a principal allowed with remote_allow(key) in a console that acts for it. Each call of that client acts for that principal, and for no other. A key that no principal allowed is refused in its handshake with access_denied, before any call, with one line of the log. remote_disallow(key) and a lock of the session of the principal end the grant: the root service ends the connections to services of that key, and remote ends the open connection of the client with the code Revoked. remote_clients() lists the keys of a principal; one principal allows 4 keys at most, of the 8 of the machine. Before, remote admitted the host by its address alone, and each program of the host called as the principal of the session of remote. modustool run prints the key of the client of its peer, which the console allows.
  • A log ring for each program. The kernel keeps the last 64 log records of each program in a ring that only that program fills, paid by its own budget, and the log service reads the own records of a caller there with the new kernel operation Log_Read (the kernel has 35 operations). A log storm of one program no longer pushes out the records of another, so a reader of its own records learns nothing of how many records the other programs wrote; the whole log keeps every record, in order, for a reader that acts for the principal.
  • Two reads of hostile bytes that a bound did not catch. A module whose import slot names a place near the top of the address space no longer passes the check of the loader and stops the root service; a node of the disk whose reference to a slot is out of the pool is a damaged node, and no longer reads before the pool. The fuzzing of the borders pointed at both.
  • A log limit and a log time that the other programs do not set: a program that read its own log records could still learn how much the other programs wrote, from a Log that the kernel refused while its own count was low, or from the time of a Log. The log records of each second are now an amount that a budget holds, as its pages: a child budget takes them from its starter with its part of the count of this second, and gives both back at its end; a budget counts only its own records, and a Log spends each record that its text takes. Budget_Read gives the records that a budget still holds after its children. A program still gets 1000 records in each second, and a starter divides its own among its children. The kernel writes at most 64 records of its own in each second. system.log never waits: a refused line is dropped and counted, the next accepted line comes after one record " lines of this program were refused by its log limit", and the kernel writes the count at the stop of a program whose refusals no later line said. Log no longer writes the serial port: the tick of each processor writes the lines of the new records in their order, only while the device takes bytes and for 100 µs at most, and the kernel writes the lines that are left before the machine stops, before the report of a fault, and in a wait for a lock longer than 1 s. In a flood the serial port can lose lines: it says how many, and each scenario of the tool fails on that line.
  • Module records protected from their program. A program could remove or replace the module record that its starter wrote, or unmap the code of that module and map its own code there, so a report named its code by the hash of another module. The kernel now writes the writer of each module record (op.Module_Writer: starter or program; the record grows from 80 to 88 bytes), and refuses with No_Right and the new error kind Starter_Module a Program_Module, a Memory_Unmap or a Memory_Map of a program in itself over a record of its starter; an address that the kernel chooses avoids such a record. The starter keeps each right. A program handle that Handle_Give copies into the program that it names loses Control and Give, so a program cannot pass the authority of its starter to a child. A disk program built before this change must be built again: Stop_Report and Module_Report grew, and Program_State writes the new size. inspect.modules(), manual.running() and program_modules() have a field writer, and the program imports writes imports: the module record of the root service: 4 of 4 changes refused with Starter_Module, writer starter; calendar, loaded by this program: writer program. The kernel still has 35 operations.
  • No window of unlock outlives a lock. A lock now also stops the window of unlock that the session asked for: the setting of the machine passphrase, the seal of the machine key, a change of the passphrase or a new recovery key. Before, anyone at the keyboard of the locked machine could read the recovery key of a new machine passphrase or set the machine passphrase. Each window that shows a new recovery key writes its record or its file only after Enter, so a lock, a close or a fault before Enter leaves the disk as it was, and no recovery key that nobody wrote down opens anything. The creation of a principal starts its session after Enter too.
  • A module table of records of no byte is refused. A module file of 80 bytes could state 67 million segments of no byte: the check of the loader accepted it, then each loop over the table ran for minutes, and the start of the program never ended. The loader now refuses a table that has records and states a record size of 0, so the bytes of the file bound the count of its records. The fuzzing of the module file found it.