Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
meisterT committed Jun 7, 2024
1 parent 86f19a7 commit 4b38694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion judge/runguard.cc
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ void setrestrictions()

/* Put the child process in the cgroup */
if (is_cgroup_v2) {
const char *controllers[] = { "cpu", "memory", "cpuset", NULL };
const char *controllers[] = { "memory", NULL };
if (cgroup_change_cgroup_path(cgroupname, getpid(), controllers) != 0) {
error(0, "Failed to move the process to the cgroup");
}
Expand Down

0 comments on commit 4b38694

Please sign in to comment.