[CRIU] [PATCH v2] compel: infect -- Don't forget to fetch sas early
Cyrill Gorcunov
gorcunov at gmail.com
Mon Feb 20 01:03:34 PST 2017
On Mon, Feb 20, 2017 at 11:53:08AM +0300, Pavel Emelyanov wrote:
> >>
> >> The ciru/pie/parasite.c should stop calling sigaltstack itself
> >> and get the sas from compel :)
> >
> > Yes, but it is for another patch. Will try to implement today.
> > Note though, that we're fetching sas for thread leader only
> > and the other threads still will fetch sas'ed by own via
> > parasite daemon.
>
> Yup, makes sense. Maybe add std_get_thread_sas() call that'll
> do the syscall for sub-threads and return the already read
> value from sigframe?
I think so, otherwise the picture will be incomplete.
More information about the CRIU
mailing list