LINUX.ORG.RU

История изменений

Исправление lbvf50txt, (текущая версия) :

The data moves directly between the address spaces of the two processes, without passing through kernel space.

Ага. Только для этого надо разрешить одному процессу обследвать адресное пространство другого процесса. И используется для отладки.

Permission to read from or write to another process is governed by a ptrace
access mode PTRACE_MODE_ATTACH_REALCREDS check; see ptrace(2).

https://man7.org/linux/man-pages/man2/process_vm_readv.2.html

 The ptrace() system call provides a means by which one process (the "tracer")
 may observe and control the execution of another process (the "tracee"), and
 examine and change the tracee's memory and registers.  It is primarily used
 to implement breakpoint debugging and system call tracing.

https://man7.org/linux/man-pages/man2/ptrace.2.html

Исходная версия lbvf50txt, :

The data moves directly between the address spaces of the two processes, without passing through kernel space.

Ага. Только для этого надо разрешить одному процессу обследвать адресное пространство другог опроцесса. И используется для отладки.

Permission to read from or write to another process is governed by a ptrace access mode PTRACE_MODE_ATTACH_REALCREDS check; see ptrace(2).

https://man7.org/linux/man-pages/man2/process_vm_readv.2.html