aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-09-10 12:44:14 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-09-10 12:49:01 +0200
commitc3543fab53ea1d544a2e3a10c129231ecf160b64 (patch)
treecc0202fa820ab9e291a33e537467a38c494fca13
parentfc91449cb5ed29ffad18270d4fdc5a5091cd4e45 (diff)
downloadman-pages-c3543fab53ea1d544a2e3a10c129231ecf160b64.tar.gz
ptrace.2: Minor tweaks to Dmitry Levin's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/ptrace.213
1 files changed, 7 insertions, 6 deletions
diff --git a/man2/ptrace.2 b/man2/ptrace.2
index 3b774f87bf..ff897bb19c 100644
--- a/man2/ptrace.2
+++ b/man2/ptrace.2
@@ -1008,24 +1008,25 @@ this ptrace operation can't be used to allocate a free TLS entry.)
.TP
.BR PTRACE_GET_SYSCALL_INFO " (since Linux 5.3)"
.\" commit 201766a20e30f982ccfe36bebfad9602c3ff574a
-Retrieve information about the syscall that caused the stop.
-The information is placed into the buffer pointed by
+Retrieve information about the system call that caused the stop.
+The information is placed into the buffer pointed by the
.I data
argument, which should be a pointer to a buffer of type
.IR "struct ptrace_syscall_info" .
The
.I addr
argument contains the size of the buffer pointed to
-by
+by the
.I data
argument (i.e.,
.IR "sizeof(struct ptrace_syscall_info)" ).
The return value contains the number of bytes available
to be written by the kernel.
-If the size of data to be written by the kernel exceeds the size
-specified by
+If the size of the data to be written by the kernel exceeds the size
+specified by the
.I addr
-argument, the output is truncated.
+argument, the output data is truncated.
+.\" FIXME Document 'struct ptrace_syscall_info'
.\"
.SS Death under ptrace
When a (possibly multithreaded) process receives a killing signal