forked from mirrors/nixpkgs
4b1cf5afb8
Changes: * doesn't handle root user separately * doesn't chdir("/") which makes using it seamless * only bind mounts, doesn't symlink (i.e. files) Incidentally, fixes #33106. It's about two times shorter than the previous version, and much easier to read/follow through. It uses GLib quite heavily, along with RAII (available in GCC/Clang). |
||
---|---|---|
.. | ||
chrootenv.c | ||
default.nix |