Files
runc/libcontainer/cgroups
Kir Kolyshkin 22b2ff0f34 libct/cg/sd/v1: Set: don't overwrite r.Freezer
m.Freeze method changes m.cgroups.Resources.Freezer field, which should
not be done while we're temporarily freezing the cgroup in Set. If this
field is changed, and r == m.cgroups.Resources (as it often happens),
this results in inability to freeze the container using Set().

To fix, add and use a method which does not change r.Freezer field.

A test case for the bug will be added separately.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit 67cfd3d400)
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2021-07-15 15:27:23 -07:00
..
2021-04-29 15:30:12 -07:00
2021-01-19 18:02:11 +01:00
2021-06-01 12:17:27 -07:00