Developing the kernel
Use this section when changing the kernel or investigating its behaviour.
- Build and program: start with Building Peios, then the Build system, Kernel programming and Rust guidance.
- Test the change: the Development tools collection includes KUnit, selftests, sanitizers and static analysis. Fault injection exercises error paths.
- Observe the result: use Tracing for runtime behaviour and Livepatch for live code changes.
- Prepare and maintain the work: consult the Development process, Maintainer guidance and Documentation workflow.
The inherited process material describes Linux upstream contribution practices. For work in the Peios repositories, also follow Peios Standards and Conventions and the instructions in the repository you are changing.
Peios build and tooling guides #
- Building Peios: pinned tools, controlled builds, incremental builds and output artifacts.
- Style tooling: formatter and linter setup, scope and CI checks.
- Data generators: event tables, registry seeds, Unicode tables and signing fixtures.
- Shared Rust core tests and ABI regeneration.
- KUnit and guest qualification: kernel execution, logs, signed inputs and result interpretation.