From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 D7F1F3858425 for ; Mon, 4 Sep 2023 12:53:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D7F1F3858425 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [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-443-JHZ_MgkpMq20FA2N1aE3yw-1; Mon, 04 Sep 2023 08:53:15 -0400 X-MC-Unique: JHZ_MgkpMq20FA2N1aE3yw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id F22293C01DFE; Mon, 4 Sep 2023 12:53:14 +0000 (UTC) Received: from oldenburg3.str.redhat.com (unknown [10.39.194.68]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 81E2921D4F3D; Mon, 4 Sep 2023 12:53:14 +0000 (UTC) From: Florian Weimer To: Adhemerval Zanella Cc: libc-alpha@sourceware.org Subject: Re: [PATCH v9 5/6] posix: Add pidfd_spawn and pidfd_spawnp (BZ 30349) References: <20230824164219.391263-1-adhemerval.zanella@linaro.org> <20230824164219.391263-6-adhemerval.zanella@linaro.org> Date: Mon, 04 Sep 2023 14:53:13 +0200 In-Reply-To: <20230824164219.391263-6-adhemerval.zanella@linaro.org> (Adhemerval Zanella's message of "Thu, 24 Aug 2023 13:42:18 -0300") Message-ID: <87h6oaxfpi.fsf@oldenburg3.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00,KAM_DMARC_NONE,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,KAM_LINKBAIT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: * Adhemerval Zanella: > Returning a pidfd allows a process to keep a race-free handle for a > child process, otherwise, the caller will need to either use pidfd_open > (which still might be subject to TOCTOU) or keep the old racy interface > base on pid_t. I have no further comments on this version, thanks. Reviewed-by: Florian Weimer Florian