Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'criu/cr-restore.c')
-rw-r--r--criu/cr-restore.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/criu/cr-restore.c b/criu/cr-restore.c
index cd8705822..d7d3d8edb 100644
--- a/criu/cr-restore.c
+++ b/criu/cr-restore.c
@@ -1809,6 +1809,9 @@ static int restore_task_with_children(void *_arg)
goto err;
}
+ if (set_opts_cap_eff())
+ goto err;
+
/* Wait prepare_userns */
if (restore_finish_ns_stage(CR_STATE_ROOT_TASK, CR_STATE_PREPARE_NAMESPACES) < 0)
goto err;