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

Cyrill Gorcunov gorcunov at gmail.com
Wed May 25 06:30:33 PDT 2016


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.


More information about the CRIU mailing list