Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A lightweight sandbox tool for non-root users
C Shell Matlab Perl Emacs Lisp Python Other
branch: master


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
$ ./       : test all unit tests

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

Use cases

$ ./mbox -i -- wget      : a simple use
$ ./mbox -n -i -- wget   : no network
Something went wrong with that request. Please try again.