[CRIU] [PATCH 4/4] parasite, restore: Add EXPORT_SYMBOL for blob symbol definitions

Cyrill Gorcunov gorcunov at openvz.org
Thu Mar 29 10:13:30 EDT 2012


Since we only need a few symbols from generated blob files
add EXPORT_SYMBOL helper -- it marks the symbols we want to
use and allows building script to find their offests.

This way extension of the scheme become easier: if one
need new symbol from blob -- just declare it with
EXPORT_SYMBOL helper.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 gen-offsets.sh    |    6 +++++-
 include/linkage.h |    8 ++++++++
 parasite.c        |    6 ++++++
 restorer.c        |    3 +++
 4 files changed, 22 insertions(+), 1 deletions(-)
 create mode 100644 include/linkage.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-parasite-restore-Add-EXPORT_SYMBOL-for-blob-symbol-d.patch
Type: text/x-patch
Size: 1795 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120329/2873384d/0004-parasite-restore-Add-EXPORT_SYMBOL-for-blob-symbol-d.bin


More information about the CRIU mailing list