[CRIU] [PATCH 4/9] vdso: Remap runtime vdso copy to safe place
Cyrill Gorcunov
gorcunov at openvz.org
Thu May 23 17:42:14 EDT 2013
Runtime vdso need to be kept in some safe place when all
self-vmas are unmapped. So we reserve space for it in restorer
blob area and then remap it into. It's quite important to do
a remap here rather than data copy because otherwise pfn
of vdso disappear and in future we won't be able to detect
vdso are on dumping stage.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
arch/arm/include/asm/vdso.h | 1 +
arch/arm/vdso-pie.c | 5 +++++
arch/x86/include/asm/vdso.h | 1 +
arch/x86/vdso-pie.c | 16 ++++++++++++++++
cr-restore.c | 30 +++++++++++++++++++++++++++---
include/restorer.h | 5 +++++
pie/restorer.c | 18 ++++++++++++++++++
7 files changed, 73 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-vdso-Remap-runtime-vdso-copy-to-safe-place.patch
Type: text/x-patch
Size: 6008 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130524/b02d65f1/attachment.bin>
More information about the CRIU
mailing list