2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

zdtm: It's need define CLONE_NEWIPC for redhat-el5

The patch allows define CLONE_NEWIPC for redhat-el5.

Signed-off-by: Victor Konyashkin  <vkonyashkin@parallels.com>
Acked-by: Andrey Wagin <avagin@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Victor Konyashkin
2012-07-31 15:08:25 +04:00
committed by Pavel Emelyanov
parent fc3a5ebd3d
commit 2fe7ed666b

View File

@@ -11,6 +11,10 @@ extern void test_init_ns(int argc, char **argv, unsigned long clone_flags, int (
#define CLONE_NEWUTS 0x04000000 #define CLONE_NEWUTS 0x04000000
#endif #endif
#ifndef CLONE_NEWIPC
#define CLONE_NEWIPC 0x08000000
#endif
/*wrapper for fork: init log offset*/ /*wrapper for fork: init log offset*/
#define test_fork() test_fork_id(-1) #define test_fork() test_fork_id(-1)
extern int test_fork_id(int id); extern int test_fork_id(int id);