Commit f3222f74 authored by Pavel Emelyanov's avatar Pavel Emelyanov

check: Collect mount infos before checking

We might need to resolve socket paths, which
will require mount infos tree collected.
Reported-by: 's avatarNeal Becker <ndbecker2@gmail.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent b876dfa3
......@@ -541,6 +541,11 @@ int cr_check(void)
return -1;
}
if (collect_mount_info(getpid())) {
pr_err("Can't collect mount infos\n");
return -1;
}
ret |= check_map_files();
ret |= check_sock_diag();
ret |= check_ns_last_pid();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment