khashf / mbox

A lightweight sandbox tool for non-root users

Home Page:http://pdos.csail.mit.edu/mbox/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mbox

Mbox is a lightweight sandboxing mechanism that any user can use without special privileges in commodity operating systems. For more details, see doc/NOTE.web or visit the website.

Getting started

$ cd src
$ cp {.,}configsbox.h
$ ./configure
$ make

 - src/tests-sbox    : test codes
      /sbox.{c,h}    : system call hooks
      /mbox.c        : main

$ ./mbox -h          : help
$ ./mbox ls          : give it a shot
$ ./testall.sh       : test all unit tests

$ ./mbox -s ls       : run ls with seccomp/bpf (if supported)

Use cases

$ ./mbox -i -- wget google.com      : a simple use
$ ./mbox -n -i -- wget google.com   : no network

About

A lightweight sandbox tool for non-root users

http://pdos.csail.mit.edu/mbox/


Languages

Language:C 94.7%Language:Shell 3.7%Language:MATLAB 0.7%Language:Perl 0.6%Language:Emacs Lisp 0.2%Language:C++ 0.1%Language:Python 0.1%Language:Objective-C 0.0%