[CRIU] [PATCH 0/3] compel: A few fixes and example
Cyrill Gorcunov
gorcunov at openvz.org
Wed Nov 23 07:33:54 PST 2016
Here is a trivial example of using compel: just run
make compel/test
sudo make compel/test-run
Cyrill Gorcunov (3):
compel: plugins,fds -- Don't include log.h
compel: Improve infect
compel: test -- Add example-1
Makefile | 1 +
Makefile.compel | 16 +++++
compel/plugins/fds/fds.c | 4 +-
compel/src/lib/infect.c | 62 ++++++++++++----
compel/test/Makefile | 22 ++++++
compel/test/example-1/Makefile | 61 ++++++++++++++++
compel/test/example-1/donor.c | 56 +++++++++++++++
compel/test/example-1/log.c | 44 ++++++++++++
compel/test/example-1/log.h | 45 ++++++++++++
compel/test/example-1/modifier-pie.c | 34 +++++++++
compel/test/example-1/modifier.c | 136 +++++++++++++++++++++++++++++++++++
11 files changed, 467 insertions(+), 14 deletions(-)
create mode 100644 compel/test/Makefile
create mode 100644 compel/test/example-1/Makefile
create mode 100644 compel/test/example-1/donor.c
create mode 100644 compel/test/example-1/log.c
create mode 100644 compel/test/example-1/log.h
create mode 100644 compel/test/example-1/modifier-pie.c
create mode 100644 compel/test/example-1/modifier.c
--
2.7.4
More information about the CRIU
mailing list