[CRIU] [PATCH 0/15] restorer: Sanitize sigreturn_restore()

Cyrill Gorcunov gorcunov at gmail.com
Wed May 25 07:37:19 PDT 2016


On Wed, May 25, 2016 at 04:48:10PM +0300, Pavel Emelyanov wrote:
> On 05/25/2016 04:30 PM, Cyrill Gorcunov wrote:
> > On Tue, May 24, 2016 at 02:32:15PM +0300, Pavel Emelyanov wrote:
> >> This routine has grown too big and messy, since lots of
> >> stuff require task_restore_args (and thread_restore_args)
> >> to be at hands. Sometimes it's handled by keeping the
> >> needed data somewhere and then copying it into restorer,
> >> sometimes by patching talis of sigreturn_restore.
> >>
> >> This set makes first step towards making sigreturn_restore()
> >> being small and doing one thing -- prepare restorer memory
> >> layout and jumping into restorer blob. The step is -- make
> >> task and thead args be ready as early as required.
> > 
> > It looks fine for me from a glance. Pavel, merge it into
> > criu-dev (with your fixes applied) and lets see how it
> > works.
> > .
> > 
> 
> Looks-fine-for-me-by: Cyrill Gorcunov <gorcunov at openvz.org>
> 
> or
> 
> Lets-see-how-it-goes-by: Cyrill Gorcunov <gorcunov at openvz.org>
Reviewed-by: Cyrill Gorcunov <gorcunov at openvz.org>


More information about the CRIU mailing list