Expand description
Guest filesystem view: the root, the bindings, and path translation.
bindingholds the prefix tables for both directions.canonwalks a guest path component by component, resolving symlinks inside the guest namespace (the port of PRoot’scanon.c).gluecreates the mount points of bindings so listings show them.translateturns a tracee’s(dirfd, path)pair into a host path and back.
Re-exports§
pub use binding::Fs;
Modules§
- binding
- Binding tables: longest-prefix substitution between guest and host paths, and the descriptors the path walk starts from.
- canon
- Component-wise canonicalization of guest paths (port of PRoot’s
canon.c), walked on descriptors. - glue
- Mount points for bindings, created where the guest would list them.
- translate
- Translating a tracee’s
(dirfd, path)into the object to act on, or into a host path, and back.