[CRIU] [PATCH 09/10] restore: Add restoration of alternative signal stack

Cyrill Gorcunov gorcunov at gmail.com
Thu Jul 4 04:55:11 EDT 2013


On Thu, Jul 04, 2013 at 03:52:56PM +0400, Pavel Emelyanov wrote:
> 
> if (core->thread_core->sas)
> 	task_args->sas = *core->thread_core_sas;
> else
> 	task_args->sas->ss_sp = (void *)-1; /* impossible value for sp */
> 
> later
> 
> if (sas->ss_sp != (void *)-1)
> 	/* restore sas */

Hmm, has_sas looks more clear for me. But I can update if you prefer.


More information about the CRIU mailing list