[CRIU] [PATCH 1/2] vdso: Introduce vdso engine

Cyrill Gorcunov gorcunov at openvz.org
Thu Apr 18 02:15:59 EDT 2013


In this patch we prepare vDSO engine to be used further.
Basically what we need is some way to

 - parse runtime vDSO memory
 - patch vDSO area to redirect calls to a new place

So here we introduce arch-dependant functions for that.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 arch/arm/include/asm/vdso.h |  13 +++
 arch/x86/Makefile           |   1 +
 arch/x86/crtools.c          |  40 +++++++++
 arch/x86/include/asm/vdso.h |  13 +++
 arch/x86/vdso.c             | 209 ++++++++++++++++++++++++++++++++++++++++++++
 include/vdso.h              |  62 +++++++++++++
 6 files changed, 338 insertions(+)
 create mode 100644 arch/arm/include/asm/vdso.h
 create mode 100644 arch/x86/include/asm/vdso.h
 create mode 100644 arch/x86/vdso.c
 create mode 100644 include/vdso.h

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


More information about the CRIU mailing list