[CRIU] [PATCH 0/3] Plugins API rework, v3

Cyrill Gorcunov gorcunov at openvz.org
Thu Mar 6 08:53:43 PST 2014


Hi, here is an updated series of plugin's new API. Please
take a look. The main idea behind to eliminate requirement
to function naming -- the plugins can use any names for
helpers they are hooking, also we eliminate a number
of malloc calls, all memory needed is allocated by
library itself during bootstrap.

Cyrill Gorcunov (3):
  plugin: Beautify criu-plugin.h
  plugin: Rework plugins API
  plugin: Use new plugin engine

 files-ext.c           |   4 +-
 include/criu-plugin.h | 137 +++++++++++++++++++++++----
 include/plugin.h      |  44 +++++++--
 mount.c               |   4 +-
 net.c                 |   2 +-
 plugin.c              | 249 +++++++++++++++++++++++++-------------------------
 sk-unix.c             |   4 +-
 7 files changed, 284 insertions(+), 160 deletions(-)

-- 
1.8.3.1


More information about the CRIU mailing list