Skip to main content

Module execution

Module execution 

Source

Structs§

BackendIdentity
Identity and lifecycle status of a containment backend.
CompletionEvidence
Completion-time evidence, distinct from launch-time enforcement evidence.
ContainmentSupport
The platform backend’s dimensioned ability to enforce the requested containment policy.
DimensionEvidence
Backend-specific evidence for one dimension. Its private fields prevent forgery by callers.
EnforcementDimensions
Independently reportable containment dimensions.
EnforcementReceipt
Evidence returned by an execution backend about actual enforcement.
ExecutableResolutionEvidence
Exact Unix bytes for PATH and each entry, preserving non-UTF-8 paths.
ExecutionError
An execution failure with a stable category and human-readable context.
ExecutionOutcome
Captured execution result paired with an enforcement receipt.
ExecutionRequest
Platform-neutral, validated request passed to a private execution backend.
ExecutionRequestBuilder
Builder for an ExecutionRequest.
ReservedExecutableEvidence
ResolvedFilesystemGrant
One typed, effective filesystem grant reported by a receipt.
ResolvedFilesystemGrants
Every effective project and backend runtime grant, without collapsing origins or kinds.

Enums§

CleanupConfidence
Confidence that process cleanup was observed at execution completion.
EnforcementDimension
One independently reportable portable enforcement dimension.
EnforcementScope
The processes to which one dimension applies.
ExecutionErrorCategory
Stable high-level execution failure categories for callers and machine output.
FilesystemAccess
Access associated with one effective filesystem grant.
FilesystemBindingMode
Evidence used to bind a grant immediately before native setup.
FilesystemGrantKind
The policy semantics declared for a target.
FilesystemGrantSource
Where an effective grant originated.
Termination
How execution ended after a backend accepted a request.

Constants§

MAX_ARGUMENT_COUNT
Maximum number of arguments, excluding the program.
MAX_ARGUMENT_UNITS
Maximum argument length in bytes on Unix or UTF-16 code units on Windows.
MAX_ARGV_UNITS
Maximum cumulative argv payload. On Windows this bounds a conservative upper estimate of the serialized CreateProcessW command line, including quoting, separators, and its terminating NUL.
MAX_BACKEND_IDENTITY_BYTES
Maximum UTF-8 byte length of each backend identity field.
MAX_ENVIRONMENT_BLOCK_UNITS
Maximum cumulative child environment block, including separators and terminators.
MAX_ENVIRONMENT_VALUE_UNITS
Maximum environment value length in bytes on Unix or UTF-16 code units on Windows.
MAX_EXECUTABLE_SEARCH_PATHS_UNITS
Maximum serialized executable search path, including separators and its terminating NUL.
MAX_EXECUTABLE_SEARCH_PATH_COUNT
Maximum number of explicit executable search directories.
MAX_EXECUTABLE_SEARCH_PATH_UNITS
Maximum length of one executable search directory in native platform units.
MAX_PROGRAM_UNITS
Maximum program length in bytes on Unix or UTF-16 code units on Windows.
MAX_PROJECT_ROOT_UNITS
Maximum project-root length in bytes on Unix or UTF-16 code units on Windows.

Functions§

dependency_toolchain_identity
Byte identity of the native backend and its documented system toolchain. This performs no project execution and does not require cgroup delegation.
execute
Attempts execution through a private platform backend.