Crate sandboxfs

Source
Expand description

Implementation of the sandboxfs FUSE file system.

Structs§

IdGenerator
Monotonically-increasing generator of identifiers.
KernelError
Type that represents an error understood by the kernel.
Mapping
Mapping describes how an individual path within the sandbox is connected to an external path in the underlying file system.
NoCache
Node factory without any caching.
PathCache
Cache of sandboxfs nodes indexed by their underlying path.
ScopedProfiler
Facade for cpuprofiler::PROFILER to cope with the optional gperftools dependency and to ensure profiling stops on drop.

Enums§

MappingError
An error indicating that a mapping specification (coming from the command line or from a reconfiguration operation) is invalid.

Functions§

flatten_causes
Flattens all causes of an error into a single string.
mount
Mounts a new sandboxfs instance on the given mount_point and maps all mappings within it.
open_input
Opens the input file for the reconfiguration loop.
open_output
Opens the output file for the reconfiguration loop.

Type Aliases§

ArcCache
A reference-counted Cache that’s safe to send across threads.