aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_nsjail.py
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-11-19 21:31:08 +0000
committerGravatar GitHub <[email protected]>2020-11-19 21:31:08 +0000
commitb3513dfbaef6e20d7d92f34285913f974bc81f32 (patch)
tree9c25a6b8416bbb4078f4e96bfa463f8fcd315d37 /tests/test_nsjail.py
parentAdd privileged securityContext to deployment (diff)
Set maximum file size to 10Mb through rlimit_fsize
This will set the maximum size of a created file to be 10Mb, a fairly generous amount. The reason for this is that when a huge stdout is buffered it does not get affected by the memory protections of nsjail and is sent to the host container, which has potential to cause an OOM.
Diffstat (limited to 'tests/test_nsjail.py')
0 files changed, 0 insertions, 0 deletions