[CRIU] [PATCH 07/13] vdso: Initialize vdso data on startup

Cyrill Gorcunov gorcunov at openvz.org
Wed May 22 15:09:43 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         |  2 +-
 Makefile.crtools |  1 +
 cr-dump.c        |  4 +++
 cr-restore.c     |  4 +++
 include/vdso.h   |  1 +
 vdso.c           | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 86 insertions(+), 1 deletion(-)
 create mode 100644 vdso.c

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


More information about the CRIU mailing list