mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
cgroup: Set "soft" mode by default
In criu 1.6 if no --manage-cgroups option been specified
we still restore default (known) properties. But in commit
c7d646afb3 we've enhanced its semantics occasionally break
backward compatibility: if no --manage-cgroups passed at all
it's assumed that one asks to not touch cgroups at all on
restore. To restore old behaviour setup "soft" mode by
default.
Reported-by: Andrew Vagin <avagin@gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
cb3c1bb7fe
commit
6c572bee8f
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ struct cg_root_opt {
|
|||
#define CG_MODE_FULL (1u << 3)
|
||||
#define CG_MODE_STRICT (1u << 4)
|
||||
|
||||
#define CG_MODE_DEFAULT (CG_MODE_IGNORE)
|
||||
#define CG_MODE_DEFAULT (CG_MODE_SOFT)
|
||||
|
||||
struct cr_options {
|
||||
int final_state;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue