[CRIU][PATCH 3/3] zdtm: It's need define CLONE_NEWIPC for redhat-el5

vkonyashkin vkonyashkin at parallels.com
Thu Jul 19 03:55:47 EDT 2012


The patch allows define CLONE_NEWIPC for redhat-el5.

Signed-off-by: Victor Konyashkin  <vkonyashkin at parallels.com>
---
 test/zdtm/lib/zdtmtst.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/test/zdtm/lib/zdtmtst.h b/test/zdtm/lib/zdtmtst.h
index 1f12d41..259fb56 100644
--- a/test/zdtm/lib/zdtmtst.h
+++ b/test/zdtm/lib/zdtmtst.h
@@ -11,6 +11,10 @@ extern void test_init_ns(int argc, char **argv, unsigned long clone_flags, int (
 #define CLONE_NEWUTS 0x04000000
 #endif
 
+#ifndef CLONE_NEWIPC
+#define CLONE_NEWIPC 0x08000000
+#endif
+
 /*wrapper for fork: init log offset*/
 extern int test_fork();
 /* finish setting up the test, write out pid file, and go to background */
-- 
1.5.2.2



More information about the CRIU mailing list