[CRIU] [PATCH 3/3] plugin: Use new plugin engine

Cyrill Gorcunov gorcunov at openvz.org
Thu Mar 13 07:41:18 PDT 2014


The patch itself might look somehow scary so please review it applied.
For example, the existing test on unix callbacks reports

| (00.001002) Plugin "test/unix-callback/lib/unix-lib.so" (version 256 hooks 7)
| (00.001011)        0 -> 0x7fc09f1b907e
| (00.001015)        1 -> 0x7fc09f1b9424
| (00.001423) Plugin "test/unix-callback/lib/syslog-lib.so" (version 256 hooks 7)
| (00.001431)        0 -> 0x7fc09efb65c0
| (00.001434)        1 -> 0x7fc09efb669a

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 files-ext.c      |   4 +-
 include/plugin.h |  26 ++----
 mount.c          |   4 +-
 net.c            |   2 +-
 plugin.c         | 248 +++++++++++++++++++++++++++----------------------------
 sk-unix.c        |   4 +-
 6 files changed, 135 insertions(+), 153 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-plugin-Use-new-plugin-engine.patch
Type: text/x-patch
Size: 12808 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140313/9c434eda/attachment-0001.bin>


More information about the CRIU mailing list