[CRIU] [PATCH v2 13/14] zdtm: Export sys_clone_unified() to headers
Kirill Tkhai
ktkhai at virtuozzo.com
Thu Dec 28 16:10:38 MSK 2017
Make it possible to use this function by tests.
v2: New
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