Skip to content
forked from skissane/mkjail

Shell script to create a chroot jail on Mac OS X

License

Notifications You must be signed in to change notification settings

tterrace/mkjail

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mkjail

This contains a script I wrote (mkjail) to create chroot jails on Mac OS X. It works for me on Mac OS X 10.10.5.

I also include a helper script (recurse) which recursively calls otool -L to find the shared library dependencies of an executable.

The mkjail.files file contains paths of files to be copied to the jail. The addtojail script can be used to easily add a new executable to that file, which will include it in future mkjail executions. It calls recurse to ensure that all shared libraries it depends upon (directly or indirectly) are also added.

License

This script is public domain and I relinquish all copyright on it.

About

Shell script to create a chroot jail on Mac OS X

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%