[CRIU] [PATCH 13/15] pie: generate native and compat parasites
Cyrill Gorcunov
gorcunov at gmail.com
Mon Apr 11 13:02:10 PDT 2016
On Mon, Apr 11, 2016 at 03:19:27PM +0300, Dmitry Safonov wrote:
> Only parasite should be mode-depended, not restorer, as
> restorer will just switch to compatible mode with arch_prctl
> at the end and jump to 32-bit executable with sigreturn.
>
> So for parasite there are two targets: "native" and "compat",
> and one for restorer with the same name "restorer".
> It will result in parasite-native.o, parasite-compat.o and restorer.o
> objects.
>
> Pie build still may work with piegen or without it (gen-offset.sh).
>
> There are many FIXME in this patch, all them are in C code, that should
> be fixed to use compatible parsite when needed.
>
> Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
OK, lets see how it goes
Reviewed-by: Cyrill Gorcunov <gorcunov at openvz.org>
More information about the CRIU
mailing list