[CRIU] [PATCHv2 11/17] pie: generate native and compat parasites
Cyrill Gorcunov
gorcunov at gmail.com
Thu Apr 14 05:20:34 PDT 2016
On Tue, Apr 12, 2016 at 07:10:49PM +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>
Acked-by: Cyrill Gorcunov <gorcunov at openvz.org>
More information about the CRIU
mailing list