mrtoth
4b801f811e
Stop --chdir from binding the working directory read-write
2026-11-17 20:37:01 +01:00
mrtoth
352ead2bf5
Expand $PWD in config paths to the launch directory
2026-11-17 20:37:01 +01:00
mrtoth
c7d88d87d9
Add --keep-fd to pass chosen inherited descriptors into the sandbox
2026-11-04 18:18:24 +01:00
mrtoth
f9ac595d63
Mark inherited descriptors close-on-exec so none reach the sandbox
2026-11-04 18:12:04 +01:00
mrtoth
14c4f44a1f
Bind persistent tmp dirs with --bind-fd so the sandbox inherits no host descriptor
2026-11-04 18:10:43 +01:00
mrtoth
c8f2d62b64
Expose the bwrap command line at /run/agent-sandbox inside every sandbox
2026-09-02 16:09:46 +02:00
mrtoth
3fb0da0577
Optionally back /tmp and /var/tmp with stable host directories
2026-05-15 01:36:58 +02:00
mrtoth
6e81866226
Default to whitelist mode and parallelize tests
...
Flips the default sandbox mode from blacklist to whitelist and
replaces the global RUST_TEST_THREADS=1 with a targeted RwLock
that only serializes blacklist sandboxes against tests mutating
glob-matching host paths. A new Sandbox newtype acquires the
guard automatically when --blacklist is in args.
2026-04-27 08:18:41 +02:00
mrtoth
7f9b21ef4f
Organize test code better
2026-04-25 15:10:42 +02:00