[CRIU] [PATCH 06/13] vdso: Introduce vdso pie-engine

Cyrill Gorcunov gorcunov at openvz.org
Wed May 22 15:09:42 EDT 2013


It's quite minimal at moment and provides only two helpers

 - vdso_redirect_calls, to patch vdso area redirectling
   calls to some new place.

 - vdso_fill_symtable, to parse vma area as vdso library
   and fill symbols table with offsets and names.

Because these routines will be needed in both regular criu
code and restorer code -- we compile it in pie format.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 include/vdso.h |  67 ++++++++++++++++
 pie/Makefile   |   1 +
 pie/vdso.c     | 241 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 309 insertions(+)
 create mode 100644 include/vdso.h
 create mode 100644 pie/vdso.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-vdso-Introduce-vdso-pie-engine.patch
Type: text/x-patch
Size: 7949 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130522/997c32f0/attachment-0001.bin>


More information about the CRIU mailing list