Skip to content

Sandbox

For enforcing hermetic execution of build steps, Zack needs sandboxing technology. The immediate goal is to prevent accidental sources of non-determinism such as inputs unknown to the build system.

The implementation will most likely overlap with Execution VFS and Execution Instrumentation.

Existing Tools

https://doc.rust-lang.org/std/os/unix/process/trait.CommandExt.html#tymethod.pre_exec

Not triaged yet

Probably too restrictive

How do others do it?

The sandbox in Dune sounds very pragmatic.

Technology

https://github.com/soh0ro0t/kernel-namespace/blob/master/user-namespace.md