package obuilder
Module Obuilder.Native_sandboxSource
Sandbox builds.
include S.SANDBOX
Source
val run :
cancelled:unit Lwt.t ->
?stdin:Os.unix_fd ->
log:Build_log.t ->
t ->
Config.t ->
string ->
(unit, [ `Cancelled | `Msg of string ]) Lwt_result.trun ~cancelled t config dir runs the operation config in a sandbox with root filesystem dir.
The type of sandbox configurations
cmdliner is used for command-line interfaces to generate the necessary flags and parameters to setup a specific sandbox's configuration.
create ~state_dir config is a sandboxing system that keeps state in state_dir and is configured using config.