[CRIU] [PATCH 15/78] infect: Introduce skeleton for soon-to-be compel code

Cyrill Gorcunov gorcunov at openvz.org
Mon Nov 7 08:36:00 PST 2016


From: Pavel Emelyanov <xemul at virtuozzo.com>

We'll collect the compel code here and will move all these
files into compel library by the last patch of this set.

Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
 criu/Makefile.crtools | 1 +
 criu/include/infect.h | 3 +++
 criu/infect.c         | 1 +
 3 files changed, 5 insertions(+)
 create mode 100644 criu/include/infect.h
 create mode 100644 criu/infect.c

diff --git a/criu/Makefile.crtools b/criu/Makefile.crtools
index c4357483b613..444358d4ac82 100644
--- a/criu/Makefile.crtools
+++ b/criu/Makefile.crtools
@@ -3,6 +3,7 @@ ccflags-y		+= -iquote compel/plugins/include
 ccflags-y		+= -iquote compel/include
 ccflags-y		+= -iquote compel/arch/$(ARCH)/plugins/std
 
+obj-y			+= infect.o
 obj-y			+= action-scripts.o
 obj-y			+= external.o
 obj-y			+= aio.o
diff --git a/criu/include/infect.h b/criu/include/infect.h
new file mode 100644
index 000000000000..1d2bdf532ecc
--- /dev/null
+++ b/criu/include/infect.h
@@ -0,0 +1,3 @@
+#ifndef __COMPEL_INFECT_H__
+#define __COMPEL_INFECT_H__
+#endif
diff --git a/criu/infect.c b/criu/infect.c
new file mode 100644
index 000000000000..ac3897c3ed94
--- /dev/null
+++ b/criu/infect.c
@@ -0,0 +1 @@
+#include "infect.h"
-- 
2.7.4



More information about the CRIU mailing list