Merge pull request #129 from disconnect3d/patch-3

Fix default rlimit_stack value
This commit is contained in:
robertswiecki 2019-12-07 17:24:29 +01:00 committed by GitHub
commit 8407e0be46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,7 +157,7 @@ message NsJailConfig {
optional uint64 rlimit_nproc = 38 [default = 1024]; optional uint64 rlimit_nproc = 38 [default = 1024];
optional RLimit rlimit_nproc_type = 39 [default = SOFT]; optional RLimit rlimit_nproc_type = 39 [default = SOFT];
/* In MiB, use the soft limit value by default */ /* In MiB, use the soft limit value by default */
optional uint64 rlimit_stack = 40 [default = 1048576]; optional uint64 rlimit_stack = 40 [default = 8];
optional RLimit rlimit_stack_type = 41 [default = SOFT]; optional RLimit rlimit_stack_type = 41 [default = SOFT];
/* Disable all rlimits, default to limits set by parent */ /* Disable all rlimits, default to limits set by parent */