Issue #174: Add new program GRoot and change version option for JuNest!

This replaces jchroot because GRoot can be also used in a user namespace environment.
This commit is contained in:
Filippo Squillace 2017-03-17 17:49:00 +00:00
parent 426b708d2d
commit 0f7fd33c53
13 changed files with 458 additions and 184 deletions

View file

@ -169,14 +169,14 @@ Internals
There are two main chroot jail used in JuNest.
The main one is [proot](https://wiki.archlinux.org/index.php/Proot) which
allows unprivileged users to execute programs inside a sandbox and
jchroot, a small and portable version of
GRoot, a small and portable version of
[arch-chroot](https://wiki.archlinux.org/index.php/Chroot) which is an
enhanced chroot for privileged users that mounts the primary directories
(i.e. /proc, /sys, /dev and /run) before executing any programs inside
the sandbox.
## Automatic fallback to classic chroot ##
If jchroot fails for some reasons in the host system (i.e. it is not able to
If GRoot fails for some reasons in the host system (i.e. it is not able to
mount one of the directories),
JuNest automatically tries to fallback to the classic chroot.