[CRIU] [PATCH 1/4] zdtm: Export sys_clone_unified() to headers

Kirill Tkhai ktkhai at virtuozzo.com
Thu Dec 28 12:35:31 MSK 2017


Make it possible to use this function by tests.

Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 test/zdtm/lib/zdtmtst.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/zdtm/lib/zdtmtst.h b/test/zdtm/lib/zdtmtst.h
index 737ac77cf..cd8e9592e 100644
--- a/test/zdtm/lib/zdtmtst.h
+++ b/test/zdtm/lib/zdtmtst.h
@@ -151,5 +151,7 @@ struct zdtm_tcp_opts {
 };
 
 extern int tcp_init_server_with_opts(int family, int *port, struct zdtm_tcp_opts *opts);
+extern pid_t sys_clone_unified(unsigned long flags, void *child_stack, void *parent_tid,
+			       void *child_tid, unsigned long newtls);
 
 #endif /* _VIMITESU_H_ */



More information about the CRIU mailing list