Skip to content

Commit 7de87ae

Browse files
Merge pull request #147 from disconnect3d/patch-2
Fixes #146: cgroups_mem_max unit in config.proto
2 parents f755488 + 5d103e5 commit 7de87ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ message NsJailConfig {
196196
optional bool seccomp_log = 60 [default = false];
197197

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

0 commit comments

Comments
 (0)