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>