Re: [PATCH v13 2/3] ptrace,syscall_user_dispatch: checkpoint/restore support for SUD

From: Oleg Nesterov
Date: Mon Mar 06 2023 - 13:06:58 EST


On 03/01, Gregory Price wrote:
>
> Implement ptrace getter/setter interface for syscall user dispatch.
>
> These prctl settings are presently write-only, making it impossible to
> implement transparent checkpoint/restore via software like CRIU.
>
> 'on_dispatch' field is not exposed because it is a kernel-internal
> only field that cannot be 'true' when returning to userland.
>
> Signed-off-by: Gregory Price <gregory.price@xxxxxxxxxxxx>

Reviewed-by: Oleg Nesterov <oleg@xxxxxxxxxx>