From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2161) id 48F043858C1F; Fri, 25 Aug 2023 09:44:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 48F043858C1F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692956695; bh=hGjS8icE4CX3vaSPpAipSKoEi25zW+KvTWYFsa/XZ+M=; h=From:To:Subject:Date:From; b=TpxdW47craXXBEGxm8MIUthYUt8ih8Cw4kV3ryWGQ6BVq4TqWWHESgdwmW7ykIWj7 jLImDub0bxprb85K6r3Nz+97H+q9U/aFub9WZmQBdu+XxLr/rs9I7gkiw64vCH3v7D QKBhKn8cnjeh98qxZoZAiRNNORNAL5eyP1MGAc5E= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Mark Wielaard To: glibc-cvs@sourceware.org Subject: [glibc] manual/jobs.texi: Add missing @item EPERM for getpgid X-Act-Checkin: glibc X-Git-Author: Mark Wielaard X-Git-Refname: refs/heads/master X-Git-Oldrev: ddbb74f5c2ceffcb8f6efcbbb5ffbe4a3641ef93 X-Git-Newrev: 5a21cefd5abab1b99eda1fbf84204a9bf41662ab Message-Id: <20230825094455.48F043858C1F@sourceware.org> Date: Fri, 25 Aug 2023 09:44:55 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5a21cefd5abab1b99eda1fbf84204a9bf41662ab commit 5a21cefd5abab1b99eda1fbf84204a9bf41662ab Author: Mark Wielaard Date: Thu Aug 24 21:36:34 2023 +0200 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: --- 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