]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/glibc-2.38/0023-manual-jobs.texi-Add-missing-item-EPERM-for-getpgid.patch
glibc: Import latest patches from upstream
[ipfire-2.x.git] / src / patches / glibc-2.38 / 0023-manual-jobs.texi-Add-missing-item-EPERM-for-getpgid.patch
CommitLineData
b9215da1
MT
1From 0e1ef6779a90bc0f8a05bc367796df2793deecaa Mon Sep 17 00:00:00 2001
2From: Mark Wielaard <mark@klomp.org>
3Date: Thu, 24 Aug 2023 21:36:34 +0200
a61a21ef 4Subject: [PATCH 23/44] manual/jobs.texi: Add missing @item EPERM for getpgid
b9215da1
MT
5
6The missing @item makes it look like errno will be set to ESRCH
7if a cross-session getpgid is not permitted.
8
9Found by ulfvonbelow on irc.
10
11(cherry picked from commit 5a21cefd5abab1b99eda1fbf84204a9bf41662ab)
12---
13 manual/job.texi | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/manual/job.texi b/manual/job.texi
17index 42cb9fb26d..8157f13a1c 100644
18--- a/manual/job.texi
19+++ b/manual/job.texi
20@@ -1133,6 +1133,7 @@ following @code{errno} error conditions are defined for this function:
21 @table @code
22 @item ESRCH
23 There is no process with the given process ID @var{pid}.
24+@item EPERM
25 The calling process and the process specified by @var{pid} are in
26 different sessions, and the implementation doesn't allow to access the
27 process group ID of the process with ID @var{pid} from the calling
28--
292.39.2
30