The traditional way of doing this is by combining programs. Many programs already do this. e.g.:
time nice distcc ccache gmake
I do this with other tools as well. bwrap, chroot, env, setpriv, xchpst, etc. They all stack.
time nice distcc ccache gmake
I do this with other tools as well. bwrap, chroot, env, setpriv, xchpst, etc. They all stack.
I instead lean on heavyweight VMs, but would love something like this which should be a hard security boundary for little cost.