From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: libc-stable@sourceware.org
Cc: Mark Wielaard <mark@klomp.org>
Subject: [PATCH 3/3] manual/jobs.texi: Add missing @item EPERM for getpgid
Date: Sat, 16 Sep 2023 00:01:29 +0200 [thread overview]
Message-ID: <20230915220242.2825510-4-dilfridge@gentoo.org> (raw)
In-Reply-To: <20230915220242.2825510-1-dilfridge@gentoo.org>
From: Mark Wielaard <mark@klomp.org>
The missing @item makes it look like errno will be set to ESRCH
if a cross-session getpgid is not permitted.
Found by ulfvonbelow on irc.
(cherry picked from commit 5a21cefd5abab1b99eda1fbf84204a9bf41662ab)
---
manual/job.texi | 1 +
1 file changed, 1 insertion(+)
diff --git a/manual/job.texi b/manual/job.texi
index 42cb9fb26d..8157f13a1c 100644
--- a/manual/job.texi
+++ b/manual/job.texi
@@ -1133,6 +1133,7 @@ following @code{errno} error conditions are defined for this function:
@table @code
@item ESRCH
There is no process with the given process ID @var{pid}.
+@item EPERM
The calling process and the process specified by @var{pid} are in
different sessions, and the implementation doesn't allow to access the
process group ID of the process with ID @var{pid} from the calling
--
2.41.0
prev parent reply other threads:[~2023-09-15 22:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-15 22:01 [COMMITTED 2.38] A few small backports Andreas K. Hüttel
2023-09-15 22:01 ` [PATCH 1/3] iconv: restore verbosity with unrecognized encoding names (bug 30694) Andreas K. Hüttel
2023-09-15 22:01 ` [PATCH 2/3] string: Fix tester build with fortify enable with gcc < 12 Andreas K. Hüttel
2023-09-15 22:01 ` Andreas K. Hüttel [this message]
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=20230915220242.2825510-4-dilfridge@gentoo.org \
--to=dilfridge@gentoo.org \
--cc=libc-stable@sourceware.org \
--cc=mark@klomp.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).