ptrace.2: mention PTRACE_GET_SYSCALL_INFO in RETURN VALUE section
PATCH 1/1 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.
Complements: fc91449cb "ptrace.2: Document PTRACE_GET_SYSCALL_INFO"
--- man2/ptrace.2 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
man2/ptrace.2 +5 -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
Signature · 1 line
ldv
PATCH 1/1 ptrace.2: mention PTRACE_GET_SYSCALL_INFO in RETURN VALUE section
Ping?
Quoted 30 lines · Dmitry V. Levin
Mirror the wording about
PTRACE_GET_SYSCALL_INFOreturn value semantics from "DESCRIPTION" section to "RETURN VALUE" section.Reported-by Mathieu Desnoyers <[email protected]>Complements:
fc91449cb"ptrace.2: DocumentPTRACE_GET_SYSCALL_INFO"Signed-off-by Dmitry V. Levin <[email protected]>--- man2/ptrace.2 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)man2/ptrace.2 +5
-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 errnoSignature · 1 line
ldv
Signature · 1 line
ldv
Hi Dmitry,
Quoted 1 line · Dmitry V. Levin
Ping?
Sorry, Michael is very busy these days. Please prefer sending the patches to both of us, so I can apply them if Michael doesn't see them.
Quoted 8 lines · Dmitry V. Levin
Quoted 6 lines
Mirror the wording about
PTRACE_GET_SYSCALL_INFOreturn value semantics from "DESCRIPTION" section to "RETURN VALUE" section.Reported-by Mathieu Desnoyers <[email protected]>Complements:
fc91449cb"ptrace.2: DocumentPTRACE_GET_SYSCALL_INFO"Signed-off-by Dmitry V. Levin <[email protected]>
Patch applied.
Thanks,
Alex
Quoted 25 lines
Quoted 24 lines
--- man2/ptrace.2 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)man2/ptrace.2 +5
-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 errnoSignature · 1 line
ldv
Signature · 3 lines
Alejandro Colomar Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/ http://www.alejandro-colomar.es/