[CRIU][PATCH 3/3] zdtm: It's need define CLONE_NEWIPC for
redhat-el5
Andrey Wagin
avagin at gmail.com
Thu Jul 19 04:18:43 EDT 2012
Acked-by: Andrey Wagin <avagin at gmail.com>
2012/7/19 vkonyashkin <vkonyashkin at parallels.com>:
> 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
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list