Skip to content

Commit

Permalink
Merge pull request #147 from disconnect3d/patch-2
Browse files Browse the repository at this point in the history
Fixes #146: cgroups_mem_max unit in config.proto
  • Loading branch information
robertswiecki authored Jul 22, 2020
2 parents f755488 + 5d103e5 commit 7de87ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ message NsJailConfig {
optional bool seccomp_log = 60 [default = false];

/* If > 0, maximum cumulative size of RAM used inside any jail */
optional uint64 cgroup_mem_max = 61 [default = 0]; /* In MiB */
optional uint64 cgroup_mem_max = 61 [default = 0]; /* In bytes */
/* Mount point for cgroups-memory in your system */
optional string cgroup_mem_mount = 62 [default = "/sys/fs/cgroup/memory"];
/* Writeable directory (for the nsjail user) under cgroup_mem_mount */
Expand Down

0 comments on commit 7de87ae

Please sign in to comment.