Commit fc830ddc authored by Pavel Emelyanov's avatar Pavel Emelyanov

anoninode: Report error when dumping unknown anon file

It will fall through all the other checks, but let's do it
explicitly for better code understanding.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent a604c63c
......@@ -485,6 +485,8 @@ static int dump_one_file(pid_t pid, int fd, int lfd, char fd_flags,
return dump_eventpoll(&p, lfd, cr_fdset);
else if (is_inotify_link(lfd))
return dump_inotify(&p, lfd, cr_fdset);
else
return dump_unsupp_fd(&p);
}
if (S_ISREG(p.stat.st_mode) ||
......
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