[CRIU] [PATCH 18/22] cr-dump.c: introduced the multiarch support.

Pavel Emelyanov xemul at parallels.com
Fri Dec 28 04:02:19 EST 2012


> @@ -788,6 +790,8 @@ static int dump_task_core_all(pid_t pid, const struct proc_pid_stat *stat,
>  	if (ret)
>  		goto err_free;
>  
> +	core_put_tls(core, parasite_get_tls_seized(ctl));

Now I see how tls is about to be dump. Better get master thread's tls via dump-misc command.

> +
>  	ret = pb_write_one(fd_core, core, PB_CORE);
>  	if (ret < 0)
>  		goto err_free;


More information about the CRIU mailing list