[CRIU] [PATCH 3/9] vdso: Initialize vdso data on startup

Cyrill Gorcunov gorcunov at openvz.org
Thu May 23 17:42:13 EDT 2013


During criu startup we need to fill symbol table of own
run-time vdso provided by the kernel. We will need this
data for vdso proxy.

Because this functions are not used in restorer code,
we move them out of PIE (since PIE code must remain
as small as possible).

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Makefile.crtools    |  1 +
 arch/arm/vdso-pie.c | 14 -----------
 arch/arm/vdso.c     | 16 ++++++++++++
 arch/x86/vdso.c     | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 cr-dump.c           |  4 +++
 cr-restore.c        |  4 +++
 include/vdso.h      |  3 +++
 7 files changed, 99 insertions(+), 14 deletions(-)
 create mode 100644 arch/arm/vdso.c
 create mode 100644 arch/x86/vdso.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-vdso-Initialize-vdso-data-on-startup.patch
Type: text/x-patch
Size: 3759 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130524/bc25b19d/attachment-0001.bin>


More information about the CRIU mailing list