Interactive demo · QNX 8.0
QSplintNX puts a daemon, splintd, in front of a QNX resource manager. It reads every message the driver would receive, refuses the ones a signed rule describes, and lets everything else through. The driver is not modified or restarted.
Below you can replay the session recorded on a QNX 8.0 target, and then send messages to the same rule engine yourself, compiled from the project's C sources to WebAssembly.
This is the serial console of a QNX 8.0 x86_64 guest under QEMU/KVM, captured byte by byte from the image the codelab builds. Nothing on screen is edited. Pick a moment in the list to jump to it.
Source: docs/video/console.cast. The same session, narrated and edited for time, is the demo video.
Load a ruleset the way splintctl reload does: the Ed25519 signature is checked against the key built into splintd, the text is parsed, and the version must move forward. Then send messages and see what splintd would decide. Edit a signed rule and the reload is refused, as on the target.
The playground is not a mock-up. It runs the project's own C code, but only the part that does not need QNX.
The rule lexer and parser, the decision engine and the Ed25519 verification are the files in src/core and third_party/ed25519-ref, compiled to a 52 KB WebAssembly module by wasm/build.sh. wasm/check.sh runs the same cases through a native build and the WebAssembly build and requires identical results.
The reload button follows the order in splintd_load_rules(): signature, then parse, then the version floor (a versioned ruleset must be newer than the active one, and an unversioned one is refused once a version is active). That ordering is written in JavaScript here, from src/qnx/splintd_main.c.
Interposing on a path, forwarding to the driver, client identity from the kernel and the secpol rules that stop a bypass all need the QNX 8.0 kernel. For those, the recording above and docs/qemu-validation.md are the evidence.