From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 181A33858C33 for ; Fri, 15 Sep 2023 22:02:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 181A33858C33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= To: libc-stable@sourceware.org Cc: Mark Wielaard Subject: [PATCH 3/3] manual/jobs.texi: Add missing @item EPERM for getpgid Date: Sat, 16 Sep 2023 00:01:29 +0200 Message-ID: <20230915220242.2825510-4-dilfridge@gentoo.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230915220242.2825510-1-dilfridge@gentoo.org> References: <20230915220242.2825510-1-dilfridge@gentoo.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.7 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: From: Mark Wielaard 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