aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/snekbox.cfg1
-rw-r--r--snekbox/nsjail.py3
2 files changed, 1 insertions, 3 deletions
diff --git a/config/snekbox.cfg b/config/snekbox.cfg
index 5434ff7..b821df3 100644
--- a/config/snekbox.cfg
+++ b/config/snekbox.cfg
@@ -21,6 +21,7 @@ envar: "HOME=home"
keep_caps: false
rlimit_as: 700
+rlimit_fsize_type: INF
clone_newnet: true
clone_newuser: true
diff --git a/snekbox/nsjail.py b/snekbox/nsjail.py
index 1b2bb41..0dd49e5 100644
--- a/snekbox/nsjail.py
+++ b/snekbox/nsjail.py
@@ -192,9 +192,6 @@ class NsJail:
with NamedTemporaryFile() as nsj_log, MemFS(self.memfs_instance_size) as fs:
nsjail_args = (
- # Set fslimit to unlimited, cannot be set in cfg
- # due to upstream protobuf parsing issue
- "--rlimit_fsize=inf",
# Mount `home` with Read/Write access
"--bindmount",
f"{fs.home}:home",