Skip to content

Commit 78dd8e2

Browse files
committed
cr-dump: call sk_queue_post_actions() after process tree is collected
SCM_CREDENTIALS packets with real PIDs are deferred during dump and need PID-to-vpid resolution after all processes are collected. Hook sk_queue_post_actions() into the dump post-actions sequence. Signed-off-by: Ahmed Elaidy <elaidya225@gmail.com>
1 parent d4209ce commit 78dd8e2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

criu/cr-dump.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
#include "tty.h"
5656
#include "net.h"
5757
#include "sk-packet.h"
58+
#include "sk-queue.h"
5859
#include "cpu.h"
5960
#include "elf.h"
6061
#include "cgroup.h"
@@ -2314,6 +2315,9 @@ int cr_dump_tasks(pid_t pid)
23142315
if (tty_post_actions())
23152316
goto err;
23162317

2318+
if (sk_queue_post_actions())
2319+
goto err;
2320+
23172321
if (inventory_save_uptime(&he))
23182322
goto err;
23192323

0 commit comments

Comments
 (0)