mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +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:
parent
fc3a5ebd3d
commit
2fe7ed666b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user