All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx.manpages@gmail.com>
To: mtk.manpages@gmail.com
Cc: "Dmitry V. Levin" <ldv@altlinux.org>,
	linux-man@vger.kernel.org,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	Alejandro Colomar <alx.manpages@gmail.com>
Subject: [PATCH 06/17] ptrace.2: mention PTRACE_GET_SYSCALL_INFO in RETURN VALUE section
Date: Sun,  9 May 2021 22:19:39 +0200	[thread overview]
Message-ID: <20210509201949.90495-7-alx.manpages@gmail.com> (raw)
In-Reply-To: <20210509201949.90495-1-alx.manpages@gmail.com>

From: "Dmitry V. Levin" <ldv@altlinux.org>

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

diff --git a/man2/ptrace.2 b/man2/ptrace.2
index 56dcbbf4b..ffaf8db0d 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
-- 
2.31.1


  parent reply	other threads:[~2021-05-09 20:20 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-09 20:19 [PATCH 00/17] Patches from others Alejandro Colomar
2021-05-09 20:19 ` [PATCH 01/17] flock.2: add CIFS details Alejandro Colomar
2021-05-09 20:19 ` [PATCH 02/17] sigaltstack.2: tfix Alejandro Colomar
2021-05-09 20:19 ` [PATCH 03/17] setbuf.3: tfix Alejandro Colomar
2021-05-09 20:19 ` [PATCH 04/17] clone.2: tfix Alejandro Colomar
2021-05-09 20:19 ` [PATCH 05/17] move_pages.2: ffix Alejandro Colomar
2021-05-09 20:19 ` Alejandro Colomar [this message]
2021-05-09 20:19 ` [PATCH 07/17] Changes.old: tfix Alejandro Colomar
2021-05-09 20:19 ` [PATCH 08/17] exit_group.2, getunwind.2: tfix Alejandro Colomar
2021-05-09 20:19 ` [PATCH 09/17] sigwaitinfo.2: tfix Alejandro Colomar
2021-05-09 20:19 ` [PATCH 10/17] getopt.3: Clarify behaviour Alejandro Colomar
2021-05-09 20:19 ` [PATCH 11/17] getopt.3: Minor tweaks to James' patch Alejandro Colomar
2021-05-09 20:19 ` [PATCH 12/17] shmop.2: tfix Alejandro Colomar
2021-05-09 20:19 ` [PATCH 13/17] execve.2: tfix Alejandro Colomar
2021-05-09 20:19 ` [PATCH 14/17] move_pages.2: ffix Alejandro Colomar
2021-05-09 20:19 ` [PATCH 15/17] semctl.2: ffix Alejandro Colomar
2021-05-09 20:19 ` [PATCH 16/17] fanotify.7: ffix Alejandro Colomar
2021-05-09 20:19 ` [PATCH 17/17] signalfd.2: tfix Alejandro Colomar
2021-05-09 21:10 ` [PATCH 00/17] Patches from others Michael Kerrisk (man-pages)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210509201949.90495-7-alx.manpages@gmail.com \
    --to=alx.manpages@gmail.com \
    --cc=ldv@altlinux.org \
    --cc=linux-man@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mtk.manpages@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.