aboutsummaryrefslogtreecommitdiff
path: root/config.proto
diff options
context:
space:
mode:
Diffstat (limited to 'config.proto')
-rw-r--r--config.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.proto b/config.proto
index 96a2b10..47847cc 100644
--- a/config.proto
+++ b/config.proto
@@ -211,6 +211,10 @@ message NsJailConfig {
/* If > 0, maximum cumulative size of RAM used inside any jail */
optional uint64 cgroup_mem_max = 67 [default = 0]; /* In bytes */
+ /* If > 0, maximum cumulative size of RAM + swap used inside any jail */
+ optional uint64 cgroup_mem_memsw_max = 91 [default = 0]; /* In bytes */
+ /* If >= 0, maximum cumulative size of swap used inside any jail */
+ optional int64 cgroup_mem_swap_max = 92 [default = -1]; /* In bytes */
/* Mount point for cgroups-memory in your system */
optional string cgroup_mem_mount = 68 [default = "/sys/fs/cgroup/memory"];
/* Writeable directory (for the nsjail user) under cgroup_mem_mount */
@@ -262,4 +266,6 @@ message NsJailConfig {
/* Binary path (with arguments) to be executed. If not specified here, it
can be specified with cmd-line as "-- /path/to/command arg1 arg2" */
optional Exe exec_bin = 90;
+
+ optional bool disable_tsc = 93 [default = false];
}