[CRIU] [PATCH 08/10] restore: set up a handler for collecting signals from zombies (v2)

Cyrill Gorcunov gorcunov at openvz.org
Wed Mar 6 16:21:31 EST 2013


On Thu, Mar 07, 2013 at 01:00:40AM +0400, Andrey Vagin wrote:
> diff --git a/arch/x86/syscall-common-x86-64.S b/arch/x86/syscall-common-x86-64.S
> index a549207..b93c312 100644
> --- a/arch/x86/syscall-common-x86-64.S
> +++ b/arch/x86/syscall-common-x86-64.S
> @@ -14,3 +14,8 @@ ENTRY(__syscall_common)
>  	syscall
>  	ret
>  END(__syscall_common)
> +
> +ENTRY(__cr_restore_rt)
> +	movq $__NR_rt_sigreturn, %rax
> +	syscall
> +END(__cr_restore_rt)

Hmm, this has nothing to do with *common* syscalls.
Andrew, could you please move this code to rt-sigreturn.S or something.
Or I can do this on top later but add a FIXME then so we won't forget.


More information about the CRIU mailing list