[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvz-criu
Subject:    [CRIU] [PATCH v2 13/14] zdtm: Export sys_clone_unified() to headers
From:       Kirill Tkhai <ktkhai () virtuozzo ! com>
Date:       2017-12-28 13:10:38
Message-ID: 151446663822.28132.6859642782035971140.stgit () localhost ! localdomain
[Download RAW message or body]

Make it possible to use this function by tests.

v2: New

Signed-off-by: Kirill Tkhai <ktkhai@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_ */

_______________________________________________
CRIU mailing list
CRIU@openvz.org
https://lists.openvz.org/mailman/listinfo/criu
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic