aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-12-07 08:08:33 +0000
committerGravatar GitHub <[email protected]>2021-12-07 08:27:06 +0000
commit91689001f179f7a68d4d17d73ff98f6a6b1ec89c (patch)
tree5a488d641f83272fd343c3995c454ca8d6e3a7e4 /tests
parentMerge pull request #120 from onerandomusername/patch-2 (diff)
Add the --use_cgroupv2 flag when relevant
According to https://github.com/google/nsjail/pull/119, the flag should be passed for NsJail to try to use cgroupv2. This commit will use the /sys/fs/cgroup structure to guess the installed version, and depending on the version add that flag.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions