[CRIU] [PATCH 10/13] vdso: Mark runtime vdso if proxy needed

Pavel Emelyanov xemul at parallels.com
Thu May 23 07:11:05 EDT 2013


On 05/22/2013 11:09 PM, Cyrill Gorcunov wrote:
> 
> In case if we need vdso proxy there is a need
> to recognize it somehow on further checkpoint
> action. But such vdso won't be recognized by
> the kernel and [vdso] mark won't appear in
> procfs output. Thus we put own mark on it.
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  include/vdso.h | 20 ++++++++++++++++++++
>  pie/vdso.c     | 10 ++++++++++
>  2 files changed, 30 insertions(+)
> 


> +typedef struct vdso_mark_s {

You told me there should be 32-bit ELF magic number in the beginning.

> +	u64			signature;
> +	unsigned long		proxy_addr;
> +} __packed vdso_mark_t;
> +



More information about the CRIU mailing list