7 unstable releases (3 breaking)
0.3.2 | Sep 2, 2024 |
---|---|
0.3.1 | Jul 19, 2024 |
0.2.0 | Jul 9, 2024 |
0.1.1 | Jul 5, 2024 |
0.0.1 | Oct 11, 2023 |
#485 in Unix APIs
27 downloads per month
14KB
249 lines
Tiffin
Tiffin is a simple and lightweight Rust library for creating and entering chroot jails on Linux.
It spawned from Katsu's chroot code, which was originally designed for setting up Linux environment from scratch.
This library does not contain methods for setting up the chroot environment, but will use an existing rootfs to create a jail out of.
Please note that this library is not designed for isolating untrusted workloads.
References
https://github.com/util-linux/util-linux/blob/master/sys-utils/unshare.c
Dependencies
~3MB
~66K SLoC