]> git.ipfire.org Git - ipfire-2.x.git/blob - 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
1 From 0e1ef6779a90bc0f8a05bc367796df2793deecaa Mon Sep 17 00:00:00 2001
2 From: Mark Wielaard <mark@klomp.org>
3 Date: Thu, 24 Aug 2023 21:36:34 +0200
4 Subject: [PATCH 23/44] manual/jobs.texi: Add missing @item EPERM for getpgid
5
6 The missing @item makes it look like errno will be set to ESRCH
7 if a cross-session getpgid is not permitted.
8
9 Found by ulfvonbelow on irc.
10
11 (cherry picked from commit 5a21cefd5abab1b99eda1fbf84204a9bf41662ab)
12 ---
13 manual/job.texi | 1 +
14 1 file changed, 1 insertion(+)
15
16 diff --git a/manual/job.texi b/manual/job.texi
17 index 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 --
29 2.39.2
30