[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230126191515.GE4069@redhat.com>
Date: Thu, 26 Jan 2023 20:15:15 +0100
From: Oleg Nesterov <oleg@...hat.com>
To: Gregory Price <gourry.memverge@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org,
avagin@...il.com, peterz@...radead.org, luto@...nel.org,
krisman@...labora.com, tglx@...utronix.de, corbet@....net,
shuah@...nel.org, Gregory Price <gregory.price@...verge.com>
Subject: Re: [PATCH v7 1/1] ptrace,syscall_user_dispatch: checkpoint/restore
support for SUD
On 01/26, 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@...verge.com>
> ---
> .../admin-guide/syscall-user-dispatch.rst | 5 ++-
> include/linux/syscall_user_dispatch.h | 18 +++++++++
> include/uapi/linux/ptrace.h | 9 +++++
> kernel/entry/syscall_user_dispatch.c | 39 +++++++++++++++++++
> kernel/ptrace.c | 9 +++++
> 5 files changed, 79 insertions(+), 1 deletion(-)
Reviewed-by: Oleg Nesterov <oleg@...hat.com>
Powered by blists - more mailing lists