Skip to content

AidanGoldfarb/Confine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

confine.c

Program to run an executable binary in a restricted environment Assignment Source

Usage

$ ./confine ./test <arg1> <arg2> ...

To build

  • Run make
  • Compiles confine.c and test.c
  • Creates executable confine and test

Custom test program

  • Run make
  • Exicute program with ./your_program in place of ./test

Restricted enviroment parameters:

The exicuted program may not

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published