[CRIU] [PATCH 2/4] protobuf: Add vdso.proto and scaffolds

Cyrill Gorcunov gorcunov at openvz.org
Tue Apr 16 05:26:09 EDT 2013


This entry will describe vDSO functions and their offsets.

A typical content of vDSO image will be as

 | name: "__vdso_gettimeofday" offset: 0x00000000000870
 | name: "__vdso_getcpu" offset: 0x00000000000d20
 | name: "__vdso_clock_gettime" offset: 0x00000000000a00
 | name: "__vdso_time" offset: 0x00000000000700

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-show.c           | 6 ++++++
 image.c             | 1 +
 include/crtools.h   | 2 ++
 include/magic.h     | 1 +
 include/protobuf.h  | 1 +
 protobuf.c          | 2 ++
 protobuf/Makefile   | 1 +
 protobuf/vdso.proto | 4 ++++
 8 files changed, 18 insertions(+)
 create mode 100644 protobuf/vdso.proto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-protobuf-Add-vdso.proto-and-scaffolds.patch
Type: text/x-patch
Size: 3287 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130416/4325506b/attachment-0001.bin>


More information about the CRIU mailing list