From 2fe7ed666b00ef41da2567c59f0b1cee2bd3935d Mon Sep 17 00:00:00 2001 From: Victor Konyashkin Date: Tue, 31 Jul 2012 15:08:25 +0400 Subject: [PATCH] zdtm: It's need define CLONE_NEWIPC for redhat-el5 The patch allows define CLONE_NEWIPC for redhat-el5. Signed-off-by: Victor Konyashkin Acked-by: Andrey Wagin Signed-off-by: Pavel Emelyanov --- test/zdtm/lib/zdtmtst.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/zdtm/lib/zdtmtst.h b/test/zdtm/lib/zdtmtst.h index 544ca5026..8869d80ce 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*/ #define test_fork() test_fork_id(-1) extern int test_fork_id(int id);