[CRIU] [PATCH] files: Fix not populated helper ids

Kirill Tkhai ktkhai at virtuozzo.com
Thu Feb 2 10:34:34 PST 2017


Every task and helper have ids populated, except this case.
Fix that.

https://travis-ci.org/tkhai/criu/builds/197728925

Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 criu/files-reg.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/criu/files-reg.c b/criu/files-reg.c
index 81982e052..e8d74a691 100644
--- a/criu/files-reg.c
+++ b/criu/files-reg.c
@@ -394,6 +394,7 @@ static int open_remap_dead_process(struct reg_file_info *rfi,
 	helper->pgid = root_item->pgid;
 	helper->pid->ns[0].virt = rfe->remap_id;
 	helper->parent = root_item;
+	helper->ids = root_item->ids;
 	list_add_tail(&helper->sibling, &root_item->children);
 
 	pr_info("Added a helper for restoring /proc/%d\n", helper->pid->ns[0].virt);



More information about the CRIU mailing list