From patchwork Thu Aug 24 19:36:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Wielaard X-Patchwork-Id: 1825604 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=kGUBuqEJ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RWtdN2GZbz1yfF for ; Fri, 25 Aug 2023 05:37:12 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 43784385772D for ; Thu, 24 Aug 2023 19:37:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 43784385772D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692905830; bh=U5QwNy+LG3UG9Ercathw6cNU5eOI1JZwi4WbBkcq1qg=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=kGUBuqEJjyTr/4b8YzpyGR+xIWcuSxOnILy1cwSrzbDWgvogqmSMys1nAPmm0/TKa 8HP8OSt6uyNTh1OlsRQimTxvN3svvFIsdlD3VSuS+i4sG+oU/PI0/vsdqLendQHRj4 ShGEBonxAkU7SVAogRCwSvoINn/Q/PtXdPw9OHLM= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 961843858C53 for ; Thu, 24 Aug 2023 19:36:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 961843858C53 Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-433-YXi6bFtlOKypKWkZzMGmXg-1; Thu, 24 Aug 2023 15:36:51 -0400 X-MC-Unique: YXi6bFtlOKypKWkZzMGmXg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A9BC43801BD2; Thu, 24 Aug 2023 19:36:50 +0000 (UTC) Received: from csb.redhat.com (unknown [10.39.192.54]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8CC5840C2073; Thu, 24 Aug 2023 19:36:50 +0000 (UTC) Received: by csb.redhat.com (Postfix, from userid 10916) id 52D99DC501; Thu, 24 Aug 2023 21:36:49 +0200 (CEST) To: libc-alpha@sourceware.org Cc: Mark Wielaard Subject: [PATCH] manual/jobs.texi: Add missing @item EPERM for getpgid Date: Thu, 24 Aug 2023 21:36:34 +0200 Message-Id: <20230824193634.1992046-1-mjw@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-10.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, 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 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Mark Wielaard via Libc-alpha From: Mark Wielaard Reply-To: Mark Wielaard Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" 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. --- 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