[CRIU] [PATCH 2/9] vdso: Introduce vdso pie-engine
Cyrill Gorcunov
gorcunov at openvz.org
Thu May 23 17:42:12 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>
---
Makefile | 4 +
arch/arm/include/asm/vdso.h | 11 +++
arch/arm/vdso-pie.c | 35 +++++++
arch/x86/include/asm/vdso.h | 11 +++
arch/x86/vdso-pie.c | 226 ++++++++++++++++++++++++++++++++++++++++++++
include/vdso.h | 69 ++++++++++++++
pie/Makefile | 1 +
7 files changed, 357 insertions(+)
create mode 100644 arch/arm/include/asm/vdso.h
create mode 100644 arch/arm/vdso-pie.c
create mode 100644 arch/x86/include/asm/vdso.h
create mode 100644 arch/x86/vdso-pie.c
create mode 100644 include/vdso.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-vdso-Introduce-vdso-pie-engine.patch
Type: text/x-patch
Size: 10116 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130524/fb404731/attachment-0001.bin>
More information about the CRIU
mailing list