[CRIU] [PATCH 1/5] compel: Add compel_stop_task() to UAPI headers

Pavel Emelyanov xemul at virtuozzo.com
Fri Nov 25 05:20:31 PST 2016


The routine itself is in library, just forgot to putt the
declaration into UAPI header.

Signed-off-by: Pavel Emelyanov <xemul at virtuozzo.com>
---
 compel/include/uapi/infect.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/compel/include/uapi/infect.h b/compel/include/uapi/infect.h
index c5a85b9..8d823c1 100644
--- a/compel/include/uapi/infect.h
+++ b/compel/include/uapi/infect.h
@@ -25,6 +25,8 @@ struct seize_task_status {
 extern int compel_wait_task(int pid, int ppid,
 		int (*get_status)(int pid, struct seize_task_status *),
 		struct seize_task_status *st);
+
+extern int compel_stop_task(int pid);
 extern int compel_unseize_task(pid_t pid, int orig_state, int state);
 
 /*
-- 
2.5.0



More information about the CRIU mailing list