[CRIU] [PATCH 1/9] parasite: Make parasite arguments variable size

Cyrill Gorcunov gorcunov at openvz.org
Fri Mar 1 12:14:15 EST 2013


On Fri, Mar 01, 2013 at 08:02:20PM +0400, Pavel Emelyanov wrote:
> diff --git a/pie/pie.lds.S.in b/pie/pie.lds.S.in
> index 29fef54..7be2eda 100644
> --- a/pie/pie.lds.S.in
> +++ b/pie/pie.lds.S.in
> @@ -21,3 +21,5 @@ SECTIONS
>  		*(*)
>  	}
>  }
> +
> +__export_parasite_args = .;

This (potentially) may generate unaligned address (it won't
happen on x86-64 but i don't know about arm). Lets leave it
as is for now, since I've some ideas on how poke parasite
area in more convenient way and hopefully get rid of such
linker tricks.


More information about the CRIU mailing list