Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restoreMountNamespace(): Restore the original root directory
This is necessary when we're in a chroot environment, where the process root is not the same as the root of the mount namespace (e.g. in nixos-enter). Fixes #7602. (cherry picked from commit e54538c) (cherry picked from commit 92e198f) (cherry picked from commit 9783bba)
- Loading branch information