Program to run an executable binary in a restricted environment Assignment Source
$ ./confine ./test <arg1> <arg2> ...
- Run
make
- Compiles confine.c and test.c
- Creates executable
confine
andtest
- Run
make
- Exicute program with
./your_program
in place of./test
- Use more than 64MB of memory in its virtual address space
- Create a file larger than or equal to 4MB
- Run for longer than 1 minute