From: Dmitry V. Levin Date: Sun, 9 May 2021 20:19:39 +0000 (+0200) Subject: ptrace.2: mention PTRACE_GET_SYSCALL_INFO in RETURN VALUE section X-Git-Tag: man-pages-5.12~223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bc6f5fdeafc2fa4a380bb77a469e8732a5bf015;p=thirdparty%2Fman-pages.git 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 Complements: fc91449cb "ptrace.2: Document PTRACE_GET_SYSCALL_INFO" Signed-off-by: Dmitry V. Levin Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- diff --git a/man2/ptrace.2 b/man2/ptrace.2 index 56dcbbf4bf..ffaf8db0d8 100644 --- a/man2/ptrace.2 +++ b/man2/ptrace.2 @@ -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