Re: [PATCH v7 1/1] ptrace,syscall_user_dispatch: checkpoint/restore support for SUD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
> ---
>  .../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@xxxxxxxxxx>




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux