A security-first, multi-user, multi-core operating system written in Rust, targeting bare-metal x86_64, AArch64, RISC-V 64, and the browser via wasm32. TAIRiX is not Linux.
This file is intentionally brief. Authoritative documents live alongside the code:
AGENTS.mdβ binding engineering charter.PLAN.mdβ staged delivery plan.docs/β long-form architecture, security, and platform book (built with mdBook).
Work in progress. - There is a long way to go before this project is ready for prime time, if it ever will be. Do not expect anything to work yet, Do not use it.
Here are some screenshots of TAIRiX running, showcasing the current state of the project
Per-architecture state of features whose support varies by target. Legend:
β implemented Β· β in progress Β· β’ planned Β· β not applicable.
Architecture-neutral subsystems (kernel core, scheduler, IPC, capabilities,
filesystems, userland, desktop) are tracked in PLAN.md and,
for filesystems, the feature section below.
| Feature | x86_64 | aarch64 | riscv64 | wasm32 |
|---|---|---|---|---|
| Boot + early console | β | β | β | β |
| Early-boot RAM self-test | β | β | β | β |
| Hardware discovery | β ACPI | β FDT | β FDT | β host |
| MMU / paging | β | β | β | β |
| Context switch | β | β | β | β |
| Interrupts + timer | β | β | β | β |
| SMP bring-up | β | β | β | β |
| Heterogeneous CPUs (big.LITTLE / hybrid) | β CPUID | β FDT | β’ | β |
| Cache-aware scheduling (LLC-aware) | β’ | β’ | β’ | β |
| Cross-CPU TLB shootdown | β | β | β | β |
| Address-space tagged TLB (PCID / ASID) | β | β | β | β |
| Syscall entry | β | β | β | β |
| User-mode execution (ring 3 / EL0 / U-mode) | β | β | β | β |
Threads within a process (thread_create, futex) |
β | β | β | β |
Advisory byte-range file locking (fs_lock, description-owned) |
β | β | β | β |
Directory change watches (fs_watch, kernel-paced, live listings) |
β | β | β | β |
| Multi-core software compositing (banded composite + blur) | β | β | β | β |
Desktop layer surfaces (CAP_DESKTOP_LAYER, shaped hit test) |
β | β | β | β |
C-callable ABI (abi-v1, non-Rust) |
β | β | β | β |
Machine power-off / restart (system_power) |
β restart | β PSCI | β SBI | β |
| Side-channel mitigation | β | β | β | β |
| Memory tagging (software UAF floor) | β | β | β | β |
| Kernel CSPRNG seeded at boot (mixed with jitter + boot seed) | β RDSEED/RDRAND | β RNDR | β boot seed | β’ host import |
| Fatal kernel-fault report (registers, backtrace, stop-the-world) | β | β | β | β |
| Fault report with no handler installed (trap table armed at boot entry) | β | β | β | β |
| Interactive-stall report (frame budget + user backtrace, debug) | β | β | β | β’ |
| CPU frequency scaling (governor + mechanism driver) | β’ | β firmware | β’ | β |
Live core-frequency measurement (cpu MHz) |
β APERF | β PMU | β cycle | β |
| Runtime CPU-feature dispatch (CRC-32C accel) | β SSE4.2 | β crc32c | β baseline | β baseline |
| Runtime CPU-feature dispatch (page-zero accel) | β ERMS | β DC ZVA | β baseline | β baseline |
| Runtime CPU-feature dispatch (hash group-scan accel) | β SSE2 | β NEON | β baseline | β baseline |
| Runtime CPU-feature dispatch (compositor blend, blur and row-scan accel) | β SSE2 | β NEON | β baseline | β baseline |
| Crypto backend availability + boot self-test (SHA-256) | β’ soft | β’ soft | β soft | β soft |
| Wide vector state for user space (AVX / AVX-512, SVE, V) | β XSAVE | β’ | β’ | β |
| Framebuffer / display | β virtio-gpu | β | β virtio-gpu | β |
| Hardware-assisted scan-out (driver-allocated frames, cursor plane, hosted console) | β virtio-gpu | β virtio-gpu Β· β Pi 4 HVS | β virtio-gpu | β |
| Display switched off when idle (desktop screensaver, login screen) | β virtio-gpu | β virtio-gpu Β· β Pi 4 engine | β virtio-gpu | β |
| Desktop paced at the output's own refresh rate | β virtio-gpu | β virtio-gpu Β· β Pi 4 engine | β virtio-gpu | β |
| Full-screen window laid straight from its frame onto the screen (one copy), each present's fate reported | β virtio-gpu | β virtio-gpu Β· β Pi 4 HVS | β virtio-gpu | β |
| Native display engine (mode setting, several outputs, hotplug, HDMI 2.0 scrambling) | β virtio-gpu | β Pi 4 HVS + HDMI | β virtio-gpu | β |
GPU served to programs (gpu-v1 device channel) |
β virtio-gpu Venus | β’ | β’ | β |
Shaders a program supplies at run time (WGSL compiled in the sandbox, SPIR-V validated and guarded, held to the software device by gpucheck --shader and its differential corpus) |
β virtio-gpu Venus | β’ | β’ | β |
Sandboxed font service (fontd, glyph rendering) |
β floor | β store | β floor | β’ |
Graphical login screen (greeter.app) |
β | β | β | β’ |
| Fast user switching (concurrent desktop sessions) | β’ | β | β’ | β’ |
| Block storage | β virtio | β virtio + eMMC + USB | β virtio | β |
| Networking | β virtio | β virtio + GENET | β virtio | β |
| DHCPv4 / DHCPv6 address configuration | β | β | β | β |
DNS name resolution, forward and reverse (A/AAAA/PTR) |
β | β | β | β |
Neighbour-cache and routing-table reads (NET_NEIGHBORS, NET_ROUTES, state:net/<iface>/β¦) |
β | β | β | β |
Path tracing (traceroute): hop-limited echo probes and ICMP-error delivery to them |
β | β | β | β |
Link-local service browse, resolve, and .local lookup (mDNS / DNS-SD, discoveryd, dns-sd) |
β | β | β | β |
| Link-local service publication (mDNS / DNS-SD) | β’ | β’ | β’ | β |
Network map (netmap.app): topology, advertised services, hardware makers, passive device and OS inference |
β | β | β | β |
Network map active reachability probing (netmap.app: polite ICMP-echo sweep + TCP well-known-port check, posture-configurable, audited) |
β | β | β | β |
Network clock synchronisation (timed, sandboxed NTP client) |
β | β | β | β |
Machine settings changed by an elevated administrator through one service (settingsd), each change made to the image's defaults as they stand |
β | β | β | β |
Civil time zones (lib/tz, the IANA 2026e store held to zic): the desktop's and login screen's clocks local, in the region's date and time formats, chosen in Settings and, for the machine, in Date & Time |
β | β | β | β’ |
Date & Time dialog (datetime.app): the clock set by hand in the machine's zone, skipped and repeated local times answered, the clock chip set with it, network time on and off, the zone's next change stated |
β | β | β | β’ |
| Real-time clock (RTC) drivers | β mc146818 | β pl031 + β rpi + β i2c | β goldfish | β |
Temperature sensors and CPU fan control (thermald) |
β | β Pi 4 AVS + GPIO header | β | β |
| Accelerator (offload-engine) drivers | β’ | β virtio-crypto | β’ | β |
DMA-engine drivers (cyclic channels, dmaengine-v1) |
β | β bcm2835 | β | β |
| Interrupt controllers, chosen by discovery | β IO-APIC, xAPIC, x2APIC | β GICv2, GICv3 + ITS | β PLIC, APLIC + IMSIC | β |
| Kernel-owned PCI host (enumeration, resources, interrupts) | β MCFG, MSI-X, MSI | β generic ECAM, INTx, MSI-X and MSI as ITS LPIs | β generic ECAM, INTx, MSI-X and MSI into interrupt files | β |
| DMA translation units (IOMMU) | β VT-d, AMD-Vi, virtio-iommu | β SMMUv3, virtio-iommu | β RISC-V IOMMU, virtio-iommu | β |
| Scatter-gather DMA carves on translated devices (no 32 MiB bound) | β | β | β | β |
| Network offloads (RX/TX csum, TSO, mergeable RX, multiqueue RX) | β virtio | β virtio + GENET | β virtio | β |
| NIC completion-interrupt masking (no per-frame interrupt storm) | β virtio | β virtio + GENET | β virtio | β |
| Receive pre-filter (foreign traffic shed before the stack wakes) | β | β | β | β |
| USB host controller (xHCI: enumeration, hubs, hotplug, isochronous streams) | β qemu-xhci | β qemu-xhci + β VL805 | β qemu-xhci | β |
| USB optical drives (multimedia units, sessions, removal) | β’ | β qemu-xhci | β’ | β |
Removable-media filesystems served from user space (fsserve-v1: ARXFS, ext2/3/4, FAT32, ADFS, AmigaDOS, ISO 9660, UDF) |
β’ | β | β’ | β |
Disk images mounted for their owner (ISO 9660, UDF, FAT32, ADFS, AmigaDOS; double-click or mount; private; ejected, or gone with the session) |
β’ | β | β’ | β |
| Archives mounted for their owner (zip, tar plain or gzip'd or bzip2'd, gzip, bzip2, Spark, ArcFS, Acorn DFS discs, RISC OS Squash files read and written; RAR read; RISC OS attributes carried) | β’ | β | β’ | β |
| Input devices | β virtio + β ps2 | β virtio + β USB HID | β virtio | β host |
| Touch input (multitouch frames; tap, scroll and pinch gestures) | β virtio | β virtio + β USB HID | β virtio | β’ |
Audio playback and capture (audiod mixer, one path, no bypass) |
β virtio + USB + HD Audio | β virtio + USB + HD Audio + Pi jack, IΒ²S, HDMI | β virtio + USB + HD Audio | β’ |
Sound files played from the command line (play: AU, WAV, FLAC native or in Ogg, Vorbis, Opus, and MPEG audio, chained Ogg links read in turn, decoded in the sandbox, gapless) |
β | β | β | β’ |
| Program library launcher (search by name, purpose and folder; favourites and frequent use kept per account; fully keyboard-driven; animated, still under reduced motion) | β | β | β | β’ |
Desktop music player (music.app: playlist, gapless, album art and tags read in the sandbox, no filesystem capability) |
β | β | β | β’ |
PC emulator (PCEmulator.app: an 8088β80186 PC/XT-class machine and its 8087 in a capability-empty worker, TAIRiX DOS on its 30 MB disk, the screen scaled sharp, raw keyboard, the mouse followed or captured, sound, a debugger) |
β | β | β | β’ |
TAIRiX Bridge (TAIRiXBridge.app: RISC OS programs on the desktop β the ARM processor, a first-party RISC OS kernel, filing systems, BBC BASIC V and VI, the VDU drivers, Draw, the Font Manager and SharedCLibrary in a capability-empty session worker; the shared session on the RISC OS folder in Documents and isolated sessions by provenance; single-tasking screens scaled sharp or smooth, the raw keyboard, the mouse followed or captured; the Wimp to come) |
β | β | β | β’ |
Open Micro Emulator (OpenMicro.app: a library of cycle-exact BBC Micro Model B, Acorn Electron and Commodore 64 machines, the Model B's sideways RAM, the Electron's Plus 1 and the C64's true 1541 drives among them, each in a capability-empty worker; clean-room MOS, Electron OS, BBC BASIC, DFS, Plus 1, KERNAL, BASIC V2, character and 1541 DOS ROMs, and the VIM editor ROM; discs, disks and tapes read and written back and made in each machine's folder in Documents, cartridges and programs; suspend and resume, snapshots, the picture sharp or smooth, sound paced by the device) |
β | β | β | β’ |
| Audio follows the seat (held on its frame outside the room, resumed there; recording published as a notice) | β | β | β | β’ |
Sound device controls kept per room tenant (default, level, mute; devices named by location; audioctl) |
β | β | β | β’ |
| Desktop sound: icon-bar volume panel and recording indicator, Settings Sound pane, Switchboard Audio pane; the user's controls remembered and restored per session | β | β | β | β’ |
Desktop event sounds (soundd: startup, shutdown, login, logout, device arrival and departure, bell, notifications; a machine sound only from the principal that owns it) |
β | β | β | β’ |
| A user's own event sounds (Settings' Sound Effects pane: switch, theme and one volume, and each event's sound β its theme's, a chosen file, or none β in force while their session holds the seat; a file handed over as a descriptor, never a path) | β | β | β | β’ |
| Production kernel binary | β | β | β’ | β’ |
| Bootable image | β’ iso | β rpi.img | β’ | β’ |
This table compares the ARXFS design as implemented against what each
foreign filesystem itself provides β the on-disk format and its canonical
Linux implementation for ext4/btrfs/XFS/bcachefs β not against TAIRiX's
interoperability drivers.
Legend: β provided (optional features count) Β· β partial Β·
β’ recognised future stage Β· β not provided.
| Feature | ARXFS | ext4 | btrfs | XFS | bcachefs |
|---|---|---|---|---|---|
| TAIRiX driver | β native | β read/write, journaled | β | β | β |
| Long file names (255 bytes) | β | β | β | β | β |
| POSIX owner / mode / ACL | β | β | β | β | β |
| Per-inode capability gate | β | β | β | β | β |
| 64-bit ns timestamps (pre-1970 / post-2038) | β | β | β | β | β |
| Encryption at rest | β chosen at format | β fscrypt | β | β | β |
| Checksummed metadata | β mirrored, keyed when encrypted | β | β | β | β |
| Data checksums | β | β | β | β | β |
| Metadata self-heal (redundant copies) | β | β | β DUP | β | β |
| Data self-heal (redundancy) | β’ | β | β RAID | β | β replicas |
| Transparent compression | β | β | β | β | β |
| Deduplication | β inline | β | β offline | β offline | β |
| Reflink / COW file clones | β | β | β | β | β |
| Snapshots | β | β | β | β | β |
| Sparse files (holes) | β | β | β | β | β |
| Symbolic links | β target as node data | β fast + slow | β | β | β |
| Hard links | β nlink, freed at zero |
β count honoured, authors none | β | β | β |
| A file unlinked while open kept to its last close, reclaimed after a crash | β pending-delete set | β orphan list | β | β | β |
| Crash consistency | β COW + write barrier | β journal | β COW | β journal | β COW |
| Multi-device / RAID | β | β | β | β | β |
| Online scrub | β verify + metadata repair | β | β | β | β |
| Offline check / repair | β + rescue | β | β | β | β |
| TRIM / discard | β | β | β | β | β |
| Online grow | β | β | β | β | β |
| Device-health monitoring β triggered scrub | β | β | β | β | β |
TAIRiX ships drivers for ARXFS (native) and for ext2/ext3/ext4, FAT32, ADFS, AmigaDOS (OFS and FFS), ISO 9660 (read-only but for its label: Joliet, Rock Ridge, High Sierra) and UDF 1.02β2.60 as interoperability drivers for foreign volumes; on removable media and in disk images each runs in user space, reaching only its own volume's blocks. Archives mount as volumes through the same path: zip, tar (plain, gzip'd or bzip2'd), Spark, ArcFS, Acorn DFS discs and RISC OS Squash files read and written, RAR read, each member's RISC OS fields carried. A copy onto ARXFS keeps a file's RISC OS filetype, Mac type and creator, Amiga comment and holes.
The attack classes TAIRiX forecloses, and where each defence stands per target. The structural defences (capability authority, process isolation, no ambient root, signed code) are designed in from the kernel up.
Defence (AGENTS.md Β§) |
Attack vector closed | x86_64 | aarch64 | riscv64 | wasm32 |
|---|---|---|---|---|---|
| Capability authority, no ambient root (Β§4, Β§5.2) | Privilege escalation, confused-deputy, setuid abuse | β | β | β | β |
| Hardware process isolation (Β§4) | Cross-process memory disclosure / tampering | β MMU | β MMU | β MMU | β host |
| Session containment (Β§4, Β§5.4) | A program left running, unreachable, after whatever started it has died | β | β | β | β |
| Per-call capability + input checks, fail-closed (Β§5.4) | Unauthorised syscall/IPC/driver access | β | β | β | β |
| Kernel per-CPU identity re-established at every trap entry (Β§4, Β§5.4) | A user-writable register steering the kernel onto another CPU's per-CPU state | β GS base | β TPIDR_EL1 |
β tp anchor |
β |
| Per-task floating-point register state (Β§4) | One task reading the float registers another task left behind | β SSE per entry, rest at park | β eager | β lazy FS |
β host |
| No kernel register state at first user entry (Β§4) | A new process reading kernel pointers or another task's vector residue | β | β | β | β host |
| W^X + position-independent executables (Β§19.2) | Code injection, writable-executable memory | β | β | β | β |
| Kernel mappings W^X, nothing physical mapped as itself: image mapped per section, direct map non-executable, supervisor writes held to read-only (Β§19.2) | A NULL or stray kernel pointer landing in live memory; kernel text or read-only data overwritten, or kernel data executed | β | β | β’ | β |
| Kernel cannot execute a user page (Β§19.2) | Kernel control flow redirected into user-supplied code (ret2usr) | β SMEP if offered Β· β’ without | β PXN |
β ISA | β |
| Kernel cannot touch a user page but through its validated copy (Β§19.2) | A kernel bug or confused deputy reading or writing user memory in place | β SMAP if offered Β· β’ without | β PAN if offered Β· β’ without | β SUM clear |
β |
| User code cannot read the descriptor-table registers (Β§19.2) | Kernel addresses disclosed to user code | β UMIP if offered | β | β | β |
| User code reaches no hardware clock or counter (Β§19.1) | A clock finer than the coarsened one for timing attacks; a task stopping the kernel's preemption timer | β CR4.TSD, CR4.PCE |
β CNTKCTL_EL1, PMUSERENR_EL0, AMUSERENR_EL0 |
β scounteren |
β host |
| Load-time CFI tag vs syscall-hash (Β§19.2) | Control-flow hijacking across ABI/IPC | β | β | β | β |
| Software memory tagging (Β§19.10) | Use-after-free (software floor) | β | β | β | β |
| Zero-on-free of secrets (Β§4) | Secret recovery from reused memory | β | β | β | β |
| Re-authenticated screen lock (Β§5.4, Β§10) | Unattended-session takeover at the keyboard | β | β | β | β |
| Login screen split from the session authority (Β§4, Β§5.2) | Compromised login surface reading credentials or starting a session | β | β | β | β |
| Terminal purged at every session boundary (Β§5.4) | Next user reading the last session's screen, hidden alternate screen, scrollback, or type-ahead | β | β grids | β | β |
| Window identity from the attested launch record (Β§4, Β§5.4) | An application dressing its window as another in the title bar or taskbar | β | β | β | β |
| Per-app data store gated on attested app identity (Β§5.2, Β§16.3) | One app of a user reading or rewriting another app's settings β not expressible with per-inode uid/mode/ACL | β | β | β | β |
| Cross-app config sharing confined to a published scope (Β§16.3) | An app reaching another app's private settings through the sharing channel, or using it to probe which applications an account has run | β | β | β | β |
| Per-app sealed secret store, keyed per (account, app) (Β§16.3) | An app reading another app's saved passwords or tokens; a damaged or forged vault being read as "no secrets saved" | β | β | β | β |
| Per-app blob store handed over as a bounded delegation (Β§16.3, Β§24.4) | An app reading or overwriting another app's bulk data; one app filling the volume through a store no per-user quota can see | β | β | β | β |
| Per-app scratch the service names, that nothing can open (Β§16.3) | An app reading another app's temporary files β or its own from an earlier run β through a name it could ask for | β | β | β | β |
| Descriptor delegation attenuates by mode and byte extent, never widens (Β§5.2) | A delegated descriptor conveying more access than its grantor opened, or growing a file without limit | β | β | β | β |
| Open files bound to the node they opened, never re-resolved by path (Β§5.4) | A rename, a planted link or a volume attached in another's place redirecting an open descriptor onto a different file | β | β | β | β |
| Sticky shared directories (Β§5.3) | Another user removing, renaming or replacing your entries in a shared drop folder | β | β | β | β |
| Tree tools walk by descriptor, removals and moves held to what they read (Β§5.4) | A directory swapped for a link mid-walk steering rm -r, chmod -R, chown -R, cp -r, mv, fstree or the file manager's paste and delete onto another tree |
β | β | β | β |
| A new node is born with its creator's mode less its umask; staged copies are owner-only (Β§5.3) | A private file's copy, or a tree being moved, readable by others while it is built | β | β | β | β |
Machine settings written by one service behind CAP_SETTINGS_WRITE, which only an elevated administrator holds (Β§5.2, Β§16.2) |
Any program of a session β or a compromised one β rewriting the login policy, the clock's sources or the interfaces' addresses; the network addressing read by an account it does not concern | β | β | β | β |
| Capability gate guards an inode's name, not only its content (Β§5.3) | Unlinking or renaming a gated directory aside and planting an ungated replacement | β | β | β | β |
| Speculation hardening at every user entry and return: registers scrubbed, buffers cleared, straight-line speculation trapped (Β§19.1) | A speculative kernel gadget fed user-chosen registers; MDS / MMIO-stale-data sampling of kernel data; speculation past the return | β | β | β in-order | β host |
| Branch-free clamp of user-chosen table indices (Β§19.1) | Spectre-v1 bounds-check bypass into kernel memory | β syscall number | β syscall number | β syscall number | β syscall number |
| Stack + slab guard pages, hardware fault (Β§4) | Stack/heap overrun into adjacent memory | β | β | β | β |
| Boot-stack poison guard, read back by the post-mortem (Β§4, Β§19.2) | Early-boot stack overrun corrupting .bss silently, before the MMU exists to fault on it |
β | β | β | β |
| Boot stack's guard read-only once the kernel root is loaded, the overrun named from the faulting address (Β§4) | A boot-stack overrun rewriting the page tables beneath it | β | β | β’ | β |
| Root encrypted at its owner's choice, swap always encrypted (Β§4, Β§11) | Secret/data recovery at rest; on a plaintext root the files, password hashes, sealed app secrets and the signing and log-attestation keys under /System/Security/Keys are protected only by the disk staying in its owner's hands, so whoever reads it offline can forge sealed audit segments |
β | β | β | β |
| Capability-gated, bounded DMA carves and MMIO grants (Β§4, Β§18.1) | A driver reaching device registers or memory it was not granted | β | β | β | β |
DMA translation: a device reaches only its node's domain, revoked at its driver's end (Β§4, plans/IOMMU.md) |
Malicious-device or compromised-driver DMA into any memory, before or after the unit takes over; a dead driver's device writing freed memory | β VT-d, AMD-Vi, virtio-iommu | β SMMUv3, virtio-iommu | β RISC-V IOMMU, virtio-iommu | β |
A GPU served to programs only from a node the platform's DMA translation unit translates, or on a platform declaring none; the kernel refuses its channel otherwise, audited (plans/GPU.md GP11.3) |
A program's GPU work driving a device no unit confines, on a machine whose unit could confine it | β | β | β | β |
A malformed description of the DMA translation units fails closed: nothing it would have described masters DMA; on x86_64 iommu.malformed=unconfined publishes it untranslated instead, audited and listed by sysinfo dma (plans/IOMMU.md IOM1, IOM14) |
A firmware table bug leaving every device's DMA unconfined on a machine that has a unit | β DMAR, IVRS, VIOT | β device tree | β device tree | β |
Isolation groups: one owner at a time for devices the fabric cannot keep apart β requester-id aliases, ACS (plans/IOMMU.md IOM8) |
Two drivers whose devices share a bridge's alias or reach each other peer-to-peer below the unit, each reaching the other's memory or device | β VT-d, AMD-Vi, virtio-iommu | β SMMUv3, virtio-iommu | β RISC-V IOMMU, virtio-iommu | β |
Address translation services refused: ATS, PRI and PASID off at the device and translated requests refused at the unit; untrusted external-facing ports (plans/IOMMU.md IOM10) |
A device presenting a pre-translated address past the unit; a hot-plugged device passing as another or reaching firmware's windows | β VT-d, AMD-Vi | β SMMUv3 | β RISC-V IOMMU | β |
Interrupt remapping, whole-machine or none, x2APIC under extended mode; MSI translation through a GICv3 ITS or into a RISC-V IOMMU's per-device interrupt files (plans/IOMMU.md IOM11, IOM12, IOM18) |
A device forging an MSI β any vector, any CPU, as any requester | β VT-d, AMD-Vi | β GICv3 ITS | β RISC-V IOMMU | β |
| A removed device's authority revoked at removal (Β§4, Β§18.4) | A vanished device's driver, or anything it delegated to, reaching its successor's registers, interrupts, endpoints or buffers | β | β | β | β |
| Continuous fuzzing of parsers/ABI/IPC/syscalls (Β§19.6) | Input-handling memory-safety bugs | β | β | β | β |
| Keyed hashing of caller-chosen keys, per-boot / per-process (Β§26.2, Β§26.4) | Hash-flooding: chosen keys collapsing a hash index onto one bucket to starve a shared lock or a bonded link | β | β | β boot seed | β unkeyed |
| Unpredictable network identifiers, fail-closed without entropy (Β§22, Β§5.4) | Off-path TCP injection and SYN-cookie forgery; DNS, NTP, and DHCP spoofing through guessable sequence numbers, ports, ids, and nonces | β | β | β | β |
| Hash-chained tamper-evident audit log (Β§19.4) | Log tampering, forensic evasion | β | β | β | β |
| Signed driver / app manifests (Β§9, Β§16.5) | Unsigned / malicious code execution | β | β | β | β |
| Supply-chain pinning: SBOM, source-hash, advisory SLA (Β§19.3) | Dependency compromise (xz-utils class) | β | β | β | β |
| Stack canaries / shadow stack (Β§19.2) | Return-address / saved-state overwrite | β | β | β | β |
| KPTI / kernel-user address-space isolation (Β§19.1) | Meltdown-class kernel-memory disclosure | β | β | β | β |
| Minimum-capability parser sandboxes (Β§19.5) | Untrusted-input parser compromise (font/image/net/removable filesystems) | β | β | β | β’ |
| Untrusted shader admission: compiled in the sandbox, validated, every dynamic index guarded (Β§5.4, Β§19.5) | A hostile shader reading another context's memory or past a resource it was bound, or a malformed module reaching a driver's compiler | β | β | β | β’ |
| Hardware memory tagging β MTE / ADI (Β§19.10) | Use-after-free (hardware-enforced) | β | β’ | β’ | β |
Every build signs the kernel's drivers and the system's programs with a secret
key set, and the kernel trusts only what that set signed. Create one once per
machine; it is kept outside the tree, readable by you alone
(tools/signkeys):
cargo xtask keys init # ~/.local/share/tairix/signing-keys, or $TAIRIX_SIGNING_KEYScargo xtask ci # Full pipeline a PR must pass
cargo xtask test # Host-side unit and integration tests
cargo xtask docs-check # rustdoc + mdBook (with link checking)
cargo xtask run --target aarch64-rpi --profile debug
# Build the image and boot it in a QEMU window
# (display, keyboard/mouse, and a NIC on QEMU's
# user-mode network; also --profile installer,
# --cpus N, and --ram SIZE such as 512M or 2G)
cargo xtask --help # All subcommandsThe pinned nightly toolchain in rust-toolchain.toml
is installed automatically when rustup is present. External tools used by
cargo xtask ci are:
cargo install --locked cargo-deny mdbook
npm ci --prefix tests/integration # with Node.js: the wasm32 harnesses' pinned browserIts test stage also checks device discovery against the pinned Raspberry Pi
firmware, fetching what target/pi-firmware lacks; offline, set
TAIRIX_PI_FIRMWARE to a directory staged per tools/mkimage/firmware.lock.
The C-ABI conformance tests (cargo xtask test --qemu) additionally need the
pinned clang / ld.lld (tairix_cc::REQUIRED_CLANG_VERSION). Install them
once and the build finds them automatically β no environment variables β from
Homebrew (brew install llvm lld) or apt.llvm.org (apt install clang-22 lld-22); see tools/cc/README.md for the search order.
The QEMU tests need QEMU 9.1 or newer on PATH; Ubuntu 24.04 and Debian 12
package older versions. cargo xtask run also needs a window backend (GTK, or
Cocoa on macOS) and user-mode networking (slirp). On macOS, Homebrew's qemu
has all three. On Linux, tools/ci/install-qemu.sh builds the pinned version
from signature-verified source and names any missing build prerequisite; set
TAIRIX_CACHE_DIR to build it somewhere other than the CI cache directory.
Licensed under the GNU General Public License v2.0 or later
(GPL-2.0-or-later), with an additional syscall / ABI exception
(TAIRiX-syscall-note) that keeps user-space programs which merely use the
kernel's system calls or its published syscall / ABI interface definitions
from being treated as derived works. See LICENSE for the full
text.
TAIRiX is an independent, open-source hobby project. It is not affiliated with, endorsed by, or supported by the Rust Project or the Rust Foundation.











