DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
719 stars 254 forks source link

Remove configure option for cgroup location #2585

Closed vmcj closed 3 months ago

vmcj commented 4 months ago

runguard.c has the default location hardcoded and no one complained. It would be (relatively easy) to use the autoconf option (and would have taken less code changes).

I found this when I tried to move the mounted cgroup locations to another dir to setup cgroupv2 in a unified structure. I'm fine with keeping the behaviour if we have a good reason for it but a quick websearch shows that everyone uses /sys/fs/cgroup.