[CRIU] [PATCH 5/5] vdso: Implement vDSO proxification of any vvar/vdso order

Cyrill Gorcunov gorcunov at openvz.org
Fri Jul 18 07:44:53 PDT 2014


In latest linux-next the vdso zone is placed _after_ vvar
zone so eventually we need to handle any combination of
the following cases

 - no vvar zone
 - vvar before vdso
 - vvar after vdso

Here we address all them.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 arch/x86/include/asm/vdso.h |   4 +-
 arch/x86/vdso-pie.c         | 109 +++++++++++++++++++++++++++++---------------
 include/vdso.h              |   4 +-
 pie/restorer.c              |  30 ++++--------
 4 files changed, 85 insertions(+), 62 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-vdso-Implement-vDSO-proxification-of-any-vvar-vdso-o.patch
Type: text/x-patch
Size: 9654 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140718/345ad2f5/attachment.bin>


More information about the CRIU mailing list