[CRIU] [PATCH 0/5] vdso proxy, v4
Cyrill Gorcunov
gorcunov at openvz.org
Thu May 16 11:33:00 EDT 2013
Hi guys, here is new version for vdso transition.
As Andrew pointed, the [vdso] sign in proc output
is not that reliable thus we need some different
way to figure out if a particular vma represents
vdso library.
For this we use own Elf miniparser and check if
a particular vma is vdso one.
Other details please see in commit messages and
code comments, I tried to make it clear.
Any feedback is appreciated.
Cyrill Gorcunov (5):
x86: Add builtin_memcmp, builtin_strcmp helpers
vdso: Introduce vdso engine
vdso: Proxify vDSO code on restore
dump: Escape double dumping of mangled vDSO
parse_smaps: Don't mark vdso if prot mismatch
arch/arm/include/asm/vdso.h | 24 +++++
arch/x86/Makefile | 1 +
arch/x86/crtools.c | 46 ++++++++++
arch/x86/include/asm/string.h | 33 +++++++
arch/x86/include/asm/vdso.h | 208 ++++++++++++++++++++++++++++++++++++++++++
arch/x86/vdso.c | 65 +++++++++++++
cr-dump.c | 6 ++
cr-restore.c | 85 ++++++++++++++++-
include/parasite-syscall.h | 3 +
include/parasite.h | 9 ++
include/restorer.h | 12 +++
include/vdso.h | 116 +++++++++++++++++++++++
parasite-syscall.c | 75 +++++++++++++++
pie/parasite.c | 36 ++++++++
pie/restorer.c | 54 +++++++++++
proc_parse.c | 5 +-
16 files changed, 774 insertions(+), 4 deletions(-)
create mode 100644 arch/arm/include/asm/vdso.h
create mode 100644 arch/x86/include/asm/string.h
create mode 100644 arch/x86/include/asm/vdso.h
create mode 100644 arch/x86/vdso.c
create mode 100644 include/vdso.h
--
1.8.1.4
More information about the CRIU
mailing list