[CRIU] [PATCH 09/10] files: add ability to set callbacks for files (v4)

Pavel Emelyanov xemul at parallels.com
Wed Dec 18 10:13:44 PST 2013


> +int dump_one_unsupp_file(int lfd, u32 id, const struct fd_parms *p)
> +{
> +	int ret;
> +
> +	ret = cr_plugin_dump_file(lfd, id);
> +	if (ret < 0)
> +		return ret;
> +
> +	return __dump_one_reg_file(lfd, id, p, true);

I still doubt this is good idea to dump unknown file as file with path.
Maybe it's better to introduce EXTERNAL file type and dump only fdinfo
entry for it?

> +}
> +


More information about the CRIU mailing list