I've recently been looking into Guix SD as a solution. Its package management is designed to keep programs independent of each other, so containers are cheap and lightweight. Trying out untrusted software is as easy as `guix shell --container --pure --no-cwd [program]`, which blocks access to the network, file system, and environment variables. Right now I'm adding more advanced capability management: limits on CPU, memory, storage space, network use, etc.
In an automated way, or have implemented as hand-written wrappers? And regardless, have you published the code (and/or talked about how it works) anywhere? It'd be really nice to have a gentler onramp to sandboxing things, and nix should be well-placed for it.
https://blog.invisiblethings.org/2008/09/02/three-approaches...
Or some exotic processor no one would ever sell successfully. =3
Thus, writing a robust and secure OS may actually be possible by competent programmers in most compiled languages. Best of luck =3
I've often pondered how it was really implemented too. Best of luck. =3
"Why Multi-Threaded Code Can Sometimes Misbehave (Weak Memory Concurrency)" (Computerphile)
There is likely a PoC around someplace if people dig a bit. =3
It happened in 2006 and never happened after that. I would consider it as secure as it gets.