[CRIU] Re: [PATCH 2/4] restore: Add checkpoint/restore for
/proc/pid/exe symlink
Pavel Emelyanov
xemul at parallels.com
Tue Feb 7 07:17:08 EST 2012
> @@ -230,6 +231,16 @@ static int restore_cwd(struct fdinfo_entry *fe, int fd)
> return 0;
> }
>
> +static int restore_exe_early(struct fdinfo_entry *fe, int fd)
> +{
> + char path[PATH_MAX];
> +
> + if (get_file_path(path, fe, fd))
> + return -1;
> +
> + pr_info("Skips restoring EXE (%s) symlink at this stage\n", path);
> + return 0;
What is this function for?
> +}
>
> struct fdinfo_list_entry *find_fdinfo_list_entry(int pid, int fd, struct fdinfo_desc *fi)
> {
More information about the CRIU
mailing list