mirror of https://github.com/mkerrisk/man-pages
ptrace.2: mention PTRACE_GET_SYSCALL_INFO in RETURN VALUE section
Mirror the wording about PTRACE_GET_SYSCALL_INFO return value semantics
from "DESCRIPTION" section to "RETURN VALUE" section.
Reported-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Complements: fc91449cb
"ptrace.2: Document PTRACE_GET_SYSCALL_INFO"
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
4d95a1eef3
commit
8bc6f5fdea
|
@ -2327,8 +2327,11 @@ On success, the
|
|||
requests return the requested data (but see NOTES),
|
||||
the
|
||||
.B PTRACE_SECCOMP_GET_FILTER
|
||||
request returns the number of instructions in the BPF program, and
|
||||
other requests return zero.
|
||||
request returns the number of instructions in the BPF program,
|
||||
the
|
||||
.B PTRACE_GET_SYSCALL_INFO
|
||||
request returns the number of bytes available to be written by the kernel,
|
||||
and other requests return zero.
|
||||
.PP
|
||||
On error, all requests return \-1, and
|
||||
.I errno
|
||||
|
|
Loading…
Reference in New Issue