Skip to main content

Module config

Module config 

Source
Expand description

Detcore configuration and widely used types.

Structs§

Config
Configuration options for detcore.
MountInfoRootRewrite
One mount row whose kernel-private root must be replaced before it becomes guest-visible.

Enums§

BlockingMode
How should we handle syscalls which may block, but are internal to the hermit container? These syscalls are determinizable, but there are multiple methods of doing so. These choices do not apply to blocking syscalls that wait for external conditions outside the container, such as network responses.
RunsPostFork
Which side of an ordinary fork/clone receives the first post-registration turn.
SchedHeuristic
Apply a specialized scheduling heuristic which may help exercise certain bugs.

Constants§

CONFIG_FINGERPRINT_ENV
N.B. we don’t want to specify two different notions of “default”, so we use the Clap instance above. Environment variable carrying the coordinator’s config_wire_fingerprint to an out-of-process plugin.

Statics§

DEFAULT_EPOCH_STR
The default epoch used by DetCore for things like initial file modtimes.

Functions§

config_wire_fingerprint
epoch_from_host_time
Convert one invocation’s captured host instant without losing subsecond precision. CLI and comparison orchestration share this input conversion; guest clock progression never reads the host clock through it.

Type Aliases§

MaybePreemptionTimeoutDeprecated
Deprecated name for an optional PMU-backed virtual-timeslice duration.
MaybeTimeslice
An optional virtual-timeslice duration. None disables that preemption mechanism.