All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ptrace.2: mention PTRACE_GET_SYSCALL_INFO in RETURN VALUE section
@ 2021-02-22 16:42 Dmitry V. Levin
  2021-04-26 18:39 ` [PING v1] " Dmitry V. Levin
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2021-02-22 16:42 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: Mathieu Desnoyers, linux-man

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>
---
 man2/ptrace.2 | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/man2/ptrace.2 b/man2/ptrace.2
index 5245338ba..c5e75c274 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
-- 
ldv

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PING v1] [PATCH] ptrace.2: mention PTRACE_GET_SYSCALL_INFO in RETURN VALUE section
  2021-02-22 16:42 [PATCH] ptrace.2: mention PTRACE_GET_SYSCALL_INFO in RETURN VALUE section Dmitry V. Levin
@ 2021-04-26 18:39 ` Dmitry V. Levin
  2021-04-27  7:30   ` Alejandro Colomar (man-pages)
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2021-04-26 18:39 UTC (permalink / raw)
  To: Michael Kerrisk; +Cc: linux-man

Ping?

On Mon, Feb 22, 2021 at 07:42:57PM +0300, Dmitry V. Levin wrote:
> 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>
> ---
>  man2/ptrace.2 | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/man2/ptrace.2 b/man2/ptrace.2
> index 5245338ba..c5e75c274 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
> -- 
> ldv

-- 
ldv

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PING v1] [PATCH] ptrace.2: mention PTRACE_GET_SYSCALL_INFO in RETURN VALUE section
  2021-04-26 18:39 ` [PING v1] " Dmitry V. Levin
@ 2021-04-27  7:30   ` Alejandro Colomar (man-pages)
  0 siblings, 0 replies; 3+ messages in thread
From: Alejandro Colomar (man-pages) @ 2021-04-27  7:30 UTC (permalink / raw)
  To: Dmitry V. Levin; +Cc: linux-man, Michael Kerrisk

Hi Dmitry,

On 4/26/21 8:39 PM, Dmitry V. Levin wrote:
> 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.

> 
> On Mon, Feb 22, 2021 at 07:42:57PM +0300, Dmitry V. Levin wrote:
>> 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>
Patch applied.

Thanks,

Alex


>> ---
>>   man2/ptrace.2 | 7 +++++--
>>   1 file changed, 5 insertions(+), 2 deletions(-)
>>
>> diff --git a/man2/ptrace.2 b/man2/ptrace.2
>> index 5245338ba..c5e75c274 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
>> -- 
>> ldv
> 


-- 
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-27  7:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22 16:42 [PATCH] ptrace.2: mention PTRACE_GET_SYSCALL_INFO in RETURN VALUE section Dmitry V. Levin
2021-04-26 18:39 ` [PING v1] " Dmitry V. Levin
2021-04-27  7:30   ` Alejandro Colomar (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.