diff options
author | 2021-12-07 08:08:33 +0000 | |
---|---|---|
committer | 2021-12-07 08:27:06 +0000 | |
commit | 91689001f179f7a68d4d17d73ff98f6a6b1ec89c (patch) | |
tree | 5a488d641f83272fd343c3995c454ca8d6e3a7e4 /scripts | |
parent | Merge 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 'scripts')
0 files changed, 0 insertions, 0 deletions