Crash reporting service for the EriX operating system.
  • Rust 99%
  • Linker Script 1%
Find a file
Erik Inkinen 53666e9d27
All checks were successful
CI / markdown (push) Successful in 3s
CI / test (push) Successful in 21s
Tighten CI markdown policy
2026-05-22 15:09:53 +03:00
.github Tighten CI markdown policy 2026-05-22 15:09:53 +03:00
src Align crashd timed test helpers with runtime feature gates 2026-04-22 04:39:24 +03:00
.editorconfig Initial commit 2026-03-05 09:33:00 +01:00
.gitignore Ignore local .ci workspace 2026-04-15 21:52:35 +03:00
.markdownlint-cli2.yaml Tighten CI markdown policy 2026-05-22 15:09:53 +03:00
ARCHITECTURE.md Tighten CI markdown policy 2026-05-22 15:09:53 +03:00
Cargo.toml Point crashd git dependencies at main branch 2026-04-22 04:55:16 +03:00
CODE_OF_CONDUCT.md Tighten CI markdown policy 2026-05-22 15:09:53 +03:00
CONTRIBUTING.md Tighten CI markdown policy 2026-05-22 15:09:53 +03:00
LICENSE Initial commit 2026-03-05 09:33:00 +01:00
linker.ld Keep stack reserve pages in runtime images 2026-04-24 08:28:55 +03:00
README.md Tighten CI markdown policy 2026-05-22 15:09:53 +03:00
ROADMAP.md Tighten CI markdown policy 2026-05-22 15:09:53 +03:00
rustfmt.toml crashd: drop unstable rustfmt options for stable toolchains 2026-03-23 10:19:50 +02:00
SECURITY.md Tighten CI markdown policy 2026-05-22 15:09:53 +03:00

crashd

crashd is the crash reporting daemon for EriX.

EriX is a clean-room, capability-based microkernel operating system written entirely in Rust.

Technical requirements are tracked in the EriX requirements, conventions, and project documentation.

See:

  • docs for design documents, specifications, and development plans.
  • Related architecture repositories for kernel, services, libraries, drivers, and integration tooling.

Purpose of This Repository

This repository implements the EriX crash service daemon. Its purpose in EriX is to provide the crash service role through explicit IPC and startup authority.

Functionally, it implements the daemon runtime, state model, IPC handling, and validation tests. The repository keeps the implementation, interface contracts, tests, and documentation for that behavior in one reviewable ownership boundary.

The maintained responsibilities are:

  • implement the crash service runtime and state model
  • validate startup authority before accepting IPC requests
  • handle bounded service operations through the assigned endpoint set
  • keep service behavior, tests, and authority invariants documented

Clean-Room Policy

EriX follows a strict clean-room philosophy:

  • No external source code may be copied.
  • No external Rust crates are allowed.
  • No code generation tools that embed third-party code.
  • All code must be authored within the project.

Violations will result in rejection of the contribution.

License

All EriX repositories are licensed under the ISC License.

Development Model

EriX development is modular, deterministic, reproducible, authority-explicit, security-first, and self-hosting oriented.

This repository follows the project roadmap and the validation rules documented in its own roadmap.

Build

cargo build --release

Test

cargo test

Features

  • crashd-integration-smoke
  • crashd-integration-force-fail
  • crashd-integration-phase1-crash-reporting

Governance Principles

crashd governance is scoped to bounded crash-report collection and retrieval.

The scoped governance rules are:

  • It accepts crash reports only through the explicit crash-report IPC contract.
  • It stores reports in bounded state and preserves monotonic identifiers for diagnostics.
  • It rejects malformed or wrong-kind process events.
  • It does not receive authority to restart, inspect, or control crashed processes.

Authority Boundaries

  • crashd operates only through startup-assigned service capabilities.
  • New authority must be represented in bootstrap/capability validation and integration tests before use.

Contact

Development occurs in EriX organization and discussions happen in issues and design documents.

No decisions are considered valid without documented rationale.

Maintainers can be reached via email: admin@erikinkinen.fi.