当前位置: 软件>C/C++软件
轻量级的沙箱机制 Mbox
本文导语: Mbox 是一个轻量级的沙箱机制,任何用户可在没人特权的操作系统内执行程序。 示例: Usage 1: Installing packages without root $ mbox -R -- apt-get install git (-R: emulate a fakeroot environment) Usage 2: Running unknown binary safely $ mbox -n --...
Mbox 是一个轻量级的沙箱机制,任何用户可在没人特权的操作系统内执行程序。
示例:
Usage 1: Installing packages without root$ mbox -R -- apt-get install git (-R: emulate a fakeroot environment)Usage 2: Running unknown binary safely
$ mbox -n -- wget google.com (-n: disable remote network accesses)Usage 3: Checkpointing filesystem
$ mbox -i -- sh (-i: enable interactive commit-mode)Usage 4: Build/development environment
$ mbox -r outdir -- make (-r dir: specify a sandbox filesystem)Usage 5: Profile-based sandbox
$ mbox -p build.prof -- ./configure (-p prof: enable profile-based policy)
## build.prof[fs] allow: . hide: ~