[CRIU] [PATCH] maps007: save core files in a error case

Pavel Emelyanov xemul at parallels.com
Fri Feb 28 01:29:45 PST 2014


On 02/25/2014 03:24 PM, Andrey Vagin wrote:
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
>  test/zdtm/live/transition/maps007.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/test/zdtm/live/transition/maps007.c b/test/zdtm/live/transition/maps007.c
> index ea09a76..a56760a 100644
> --- a/test/zdtm/live/transition/maps007.c
> +++ b/test/zdtm/live/transition/maps007.c
> @@ -160,6 +160,7 @@ int main(int argc, char **argv)
>  
>  	return 0;
>  err:
> -	kill(child, SIGKILL);
> +	kill(child, SIGSEGV);
> +	*((int *) 0) = 0;
>  	return 1;
>  }
> 


applied


More information about the CRIU mailing list