[CRIU] [PATCH 0/7] compel: Add initial sas support upon infection

Andrei Vagin avagin at virtuozzo.com
Thu Mar 16 15:06:58 PDT 2017


On Mon, Mar 13, 2017 at 09:53:48PM +0300, Pavel Emelyanov wrote:
> On 03/13/2017 09:39 PM, Cyrill Gorcunov wrote:
> > On Mon, Mar 13, 2017 at 09:08:49PM +0300, Pavel Emelyanov wrote:
> >> On 03/13/2017 07:52 PM, Cyrill Gorcunov wrote:
> >>> Hi here is a series which implements basic signal alternative stack (sas)
> >>> support from inside of libcompel. Basically the idea is simple
> >>>
> >>>  - in compel_infect we immedeately fetch target sas and put it into
> >>>    the sigframe, so it wont be loosed in case of sigreturn triggering
> >>>
> >>>  - in compel_prepare_thread we fetch per-thread sas
> >>>
> >>> TODO:
> >>>
> >>>  - make some sane API for sas fetching and start using it in criu itself
> >>
> >> Would you please show how this thing would look like? It's
> >> not clear from these patches.
> > 
> > Some new helpers like
> > 
> >  - compel_get_sas_thread_leader(ctl) -> returns pointer to sas from sigframe
> >  - compel_get_sas_thread(tctl) -> returns pointer to sas from thread context
> 
> Yes, that's clear. I mean the code itself :)

It sounds like Cyrill we need tests

> 
> > .
> > 
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list