-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --fast-sync flag to control sync behaviour
- Loading branch information
Showing
5 changed files
with
55 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
include S.SANDBOX | ||
|
||
val create : runc_state_dir:string -> t | ||
val create : ?fast_sync:bool -> runc_state_dir:string -> unit -> t | ||
(** [create dir] is a runc sandboxing system that keeps state in [dir]. | ||
@param fast_sync Use seccomp to skip all sync syscalls. This is fast (and | ||
safe, since we discard builds after a crash), but requires | ||
runc version 1.0.0-rc92 or later. Note that the runc version | ||
is not the same as the spec version. If "runc --version" | ||
only prints the spec version, then it's too old. *) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters