Expand description
Pure-logic core for the driver-lab driver: target-ceiling and session-allowlist policy evaluation and the bounded audit ring.
This crate deliberately has no Fuchsia dependencies so policy and audit behavior are testable on the build host without a component realm or an emulator.
Modulesยง
- access_
policy - Layered access validation for proxy operations.
- audit_
ring - Bounded target-side audit ring.
- config
- Structured configuration and runtime limit bounds (Spec Section 22).
- digest
- Resource-description digests.
- executor
- Read-path executor: policy check, hardware access, and audit for scalar reads and bounded snapshots.
- hardware_
backend - Hardware access abstraction for the executor.
- interrupt
- Core interrupt observation, sequence tracking, waiter notification, and acknowledgement.
- protocol_
resource_ adapter - Protocol resource adapters for GPIO, I2C, and SPI.
- provider
- Provider-neutral bundle of acquired resources.
- session
- Session lifecycle: identity staleness, allowlist validation, and the exclusive mutation lease.
- state_
bank - Software state banks, runtime knobs, and diagnostic triggers for in-situ driver experimentation.
- target_
policy - Target ceiling policy manifest representation, canonicalization, and narrowing verification.