Skip to content

Commit 4b38694

Browse files
committed
more fixes
1 parent 86f19a7 commit 4b38694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

judge/runguard.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ void setrestrictions()
863863

864864
/* Put the child process in the cgroup */
865865
if (is_cgroup_v2) {
866-
const char *controllers[] = { "cpu", "memory", "cpuset", NULL };
866+
const char *controllers[] = { "memory", NULL };
867867
if (cgroup_change_cgroup_path(cgroupname, getpid(), controllers) != 0) {
868868
error(0, "Failed to move the process to the cgroup");
869869
}

0 commit comments

Comments
 (0)