modus
Menu

Docs

How modus works. The guides explain how each part is designed, and why; the reference states what exists in this build, generated from the code.

Guides

How each part is designed, and why, in reading order.

  1. Kernel propertiesThe 25 properties that the system is built on: each rule, what it forbids, what it costs, and its state
  2. ArchitectureThe systems of the kernel and of user space, what each owns and how they connect; then the inside of the kernel: its locks, the virtual memory of a process, the extended state, the return to a process, kernel events
  3. Module contractThe module format, the loader, the call form (direct, isolated, from the host), the types, the context of a process, and the errors that diagnose
  4. Developer toolsThe developer tools, and what each one reads
  5. The design rulesThe design rules: how a process of the system looks. The boot display is the model
  6. The words of the systemThe words of the system: what an error sentence, a notification, a dialog and a setting say, and in which form
  7. Pointer picturesThe pointer pictures: Xcursor, hyprcursor and the others; the format and the manifest of the system; the license of the Posy theme
  8. Trusted bootThe trusted boot: what verifies what at the start, with which key; the signing key; the measure; what each layer does not protect
  9. InstallThe disk image of a release: its files, their verification with the tool or with OpenSSL, the write to a USB key, and the start with Secure Boot on or off
  10. The demonstration of each propertyFor each of the 25 properties: what the machine test shows, the picture, and what no test shows yet
  11. PrincipalsThe principals: the machine, a named principal, its unlock and its lock, the session of each process, the store of a principal, and what is not built
  12. The assistant: an agent from the desktopThe assistant: a window where a principal asks an agent on the host for help, the acts that it proposes, and the acts that wait for the principal on the trusted display
  13. The line of the consoleThe line of the console: the caret, the completion list, the history and its search, the colors of the code
  14. Lex: the language and runtime of modusLex, the language and runtime of modus: the grammar, values, pipes, declarations, plans, projects, record stream short forms, evaluation diagrams, and errors
  15. CryptographyThe cryptography of QUIC and TLS 1.3: which proven code the system takes, and how it checks it
  16. StorageThe stored data: objects, trees and stores; what a process reaches, the format on the disk, and the steps that are not built
  17. The text of the system: a vector font with subpixel bandsThe text of the system: the vector font, the grid fit, the subpixel bands and the cache of the glyphs
  18. The interface of the processesThe interface package of the processes: the draw records, the damage, the layout, the input and the focus
  19. The network: TCP as a library in the processThe network: the frame service, the network service, and TCP as a library in the process
  20. QUICQUIC version 1: packet protection, TLS 1.3, the transport of a connection, a server of several connections
  21. RandomnessWhere a process gets random bytes, and how the system measures the strength of its seed
  22. One source, one module: the build and the threads of the compilerOne source gives one module: the build, and the threads of the compiler
  23. Scheduling strategiesThe scheduling strategies: what the system takes from CFS, EEVDF and sched_ext, and how it changes strategy while it runs
  24. Vector forms: SSE2Which procedures compute with vectors, in which form, and how to measure each one
  25. SoundSound: how a process plays samples at the time that it names, what the sound service refuses, and how the test hears the tone

Reference

What exists in this build, generated from the code.

  • GlossaryEach term of the project: its definition, what it is for, and how it works. A term on another page links here.1014
  • Commands of modustoolEach command of the tool of the project, with what it does.59
  • Measured numbersEach number that the machine tests print, with its log and its conditions.24
  • Credits and licencesReused code, reimplemented algorithms, design inspirations, licences and upstream funding links.35
  • Kernel operationsEach operation that a process asks the kernel, with its number, its parameters and its result; the status of a completion.35
  • The context of a processThe place of each handle and each value in the context that a process receives.27
  • Error kinds and unitsEach kind and each unit of the error record, with the meaning of its values.102
  • Grants of the root serviceWhat the root service gives each process at its start, and what it records and can revoke.45
  • Fixed rangesEach range of addresses that the system gives a process, with its address.12
  • Commands of the consoleEach built-in command of the console, as help() prints it.107
  • TypesEach type of the contract and of the modules, with its size, its alignment and its layout.337
  • ModulesEach module, with a page for each: its documentation, its exports, its imports, and for a module with an entry its grants and its budget.168
  • The module graphEach module as a node, each import as an edge, in layers by depth; the identity card of each module.53