Skip to content
A sandbox that works on the config provided to restrict access
C Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.fendrc
Makefile
README.md
config.fendrc
fend
fend.c
fend2.c
initheader.h
initializer.c
myprogram.c
myprogram2.c

README.md

Fend - Sandbox

Restricts the child program's access based on the entries in the config file.

Config file working

If no config provided as params, checks the current directory for .fendrc. If not found checks in ~/.fendrc. If not found, throws an error

Config file structure

{mode} {file}

mode is a octal 3 digit number (RWX).

Eg.

777 represents all access to the {file}

000 represents no access to the {file}

Running

./fend {absolute path to the program} [-c {config file name}]

You can’t perform that action at this time.