[Virtio-fs] [virtiofsd-rs] MR merged: Strip shared directory from mountinfo’s mount points with sandbox=chroot
virtiofs-bot at sinrega.org
virtiofs-bot at sinrega.org
Wed Dec 22 15:30:10 UTC 2021
When using *sandbox=chroot*, `/proc/self/mountinfo` still contains the pre-chroot mount point paths. To open them, we need to strip the shared directory as a prefix from them.
This series does so by first canonicalizing the shared directory path, and then (when using *sandbox=chroot*) stripping it from every mount point in `/proc/self/mountinfo` that we want to open.
(Reported by German)
---
https://gitlab.com/virtio-fs/virtiofsd/-/merge_requests/58
More information about the Virtio-fs
mailing list