From 2af90fd35ea8a0aafb9156653f5b28cbac4e1677 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 1 Dec 2026 01:59:16 +0000 Subject: enstate: validators and renderers in a sandbox By bubblewrap: everything read-only but OUT (and IN bound again after a fresh /tmp), a new /dev and /proc, namespaces of their own (no network), no capabilities, a new session, gone with the receptor. The setting sandbox is bwrap (found in the receptor's PATH, as the programs' environment is empty), or none; the module sets its bubblewrap. The tests run their programs in it where bubblewrap can make one (not in Nix's build sandbox), and a test checks that a program can't write outside OUT, nor into IN, and has no network nor environment. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 241ad31..568d842 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,10 @@ Bash completion is [share/bash-completion/completions/enstate](share/bash-completion/completions/enstate), which the package installs. -Not yet: converters, derived slots and steps; a sandbox for programs. +Validators and renderers run in a sandbox, by bubblewrap (the setting +`sandbox`, `none` for none). + +Not yet: converters, derived slots and steps. ```sh cargo build -- cgit v1.3.1