A simple way to easysandbox sandbox
no vote
Application background # EasySandbox
An easy way to sandbox untrusted C and C++ programs on Linux.
Allows them only to allocate memory (up to a fixed amount),
read and write via stdin, stdout, and stderr,
and exit. Sandboxing is done using
[SECCOMP](http://lwn.net/Articles/332974/).
The intended use is being able to safely execute student
code submissions for the [CloudCoder](http://cloudcoder.org)
programming exercise system, although it could be useful in
other contexts.
You can run
```bash
make runtests
```
to run the test programs. If you see "All tests passed!", then
EasySandbox is working on your system.
EasySandbox is distributed under the [MIT license](http://opensource.org/licenses/MIT).
# Using