From: Mark Wielaard Date: Thu, 24 Aug 2023 19:36:34 +0000 (+0200) Subject: manual/jobs.texi: Add missing @item EPERM for getpgid X-Git-Tag: glibc-2.39~472 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5a21cefd5abab1b99eda1fbf84204a9bf41662ab;p=thirdparty%2Fglibc.git manual/jobs.texi: Add missing @item EPERM for getpgid 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. --- diff --git a/manual/job.texi b/manual/job.texi index 42cb9fb26dd..8157f13a1c1 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