Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tsgates/mbox
A lightweight sandbox tool for non-root users
https://github.com/tsgates/mbox
Last synced: 16 days ago
JSON representation
A lightweight sandbox tool for non-root users
- Host: GitHub
- URL: https://github.com/tsgates/mbox
- Owner: tsgates
- Created: 2013-07-05T12:00:16.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-06-21T18:47:42.000Z (over 6 years ago)
- Last Synced: 2024-08-01T08:07:04.339Z (3 months ago)
- Language: C
- Homepage: http://pdos.csail.mit.edu/mbox/
- Size: 1.88 MB
- Stars: 654
- Watchers: 25
- Forks: 45
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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](http://pdos.csail.mit.edu/mbox/).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