Go to file
yafox 16a2351d89
initial commit.
2020-11-25 06:31:08 +00:00
LICENSE initial commit. 2020-11-25 06:31:08 +00:00
README initial commit. 2020-11-25 06:31:08 +00:00
chin.sh initial commit. 2020-11-25 06:31:08 +00:00
makefile initial commit. 2020-11-25 06:31:08 +00:00
sloc.sh initial commit. 2020-11-25 06:31:08 +00:00

README

# chin

abbreviation of "chroot in."

sets up /proc, /dev, /sys, and /tmp directories if they do not already exist in
the target directory, chroots into the target directory and executes the given
command, and then tears down whatever directories it set up upon exiting.

designed to set up build environments for code that already comes from a trusted
source.  do not assume the resulting chroot conveys any sort of security!
consider this an organizational tool more than anything else.

40 SLOC.

usage: chin.sh <chroot target> <commands>