mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-02 07:15:31 +00:00
dump: Save pstree_item's parent on item, not ppid
This is trivial change, but is required to check for pgid/sid are in 'restorable' state, see for respective patch/code for details. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -176,7 +176,7 @@ struct vma_area {
|
||||
struct pstree_item {
|
||||
struct list_head list;
|
||||
pid_t pid; /* leader pid */
|
||||
pid_t ppid;
|
||||
struct pstree_item *parent;
|
||||
int state; /* TASK_XXX constants */
|
||||
int nr_children; /* number of children */
|
||||
int nr_threads; /* number of threads */
|
||||
|
Reference in New Issue
Block a user