Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2328894rdb; Fri, 8 Dec 2023 05:16:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGQUxLtK/2DW4FR+4Mw373IRxQLG4u7bqSSNl0Gj9x3nFSU59I8uMjk+6nPznCmejxjMN2X X-Received: by 2002:a05:6a20:12ca:b0:18a:fbd1:8e6d with SMTP id v10-20020a056a2012ca00b0018afbd18e6dmr3348426pzg.27.1702041371838; Fri, 08 Dec 2023 05:16:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702041371; cv=none; d=google.com; s=arc-20160816; b=qMb1y50OXuMg/yxbDQTQosuUNcqhEXFS0URqkfRJqWbPgu1M6JNIKzgegCgDdh0dd3 RhYah/NyhHsp++YqX22RhOa6cexFNgf+LNORr4SVQqcafjKFzSnPW0cTslOYBC+TipBn +Sa16udtbUhyNfJL6dYu8nrguDYvtLodG9yfzPMPlHpx7nxttgv02+ESGqvH1V/3LaDX yCxdUXBmEDkao2ITOCki/YqBm3yJNdi8O2fBnedU3exI9o7i7eGYdbv5lQaRIDyS4Qaq kqPNHCvnUdCDDgpCB0+EfssXbq/3YHGsrWUScF1WCiNrH+mVbxfoDEkMPw95buwmQpGL +m/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=Gb0GPMiMlGSDj0aJqLOnlqDRREqBTKMhjqExl2I2m1g=; fh=rF4kNN7bN5Uu6Z1YUaswcxpPOBvqelqXqvkVXwBUMx4=; b=M5657cN7LK/r6SFym0nNIeOjw0GROfY5mhRQNN3KhgkL8PmzCSBqJH0UFupjUR4pYq JBVzimUICO8CCOS27Xx7aQWToI4V2yGgDNxWCuq3xc+H1ewnn7JTU101+3DIV3xmQx8M SHS20WRQxooZ+t+n1qxM4Y+moM4ZnvPTWDSseQxSl/sF2aLTh6o92MwA5HOOr30zcZb3 rN7e64ZEF9NOX4PhqnafBZygSbTkkF42k3ZQ3K+o3WUSJHtBqUvCuOIojRXK95Zfwo/h pdDPBL/MRtgArfALfveyrVIRQRQWcWHGq6e9vqou4wfb8epZrTwZ8da87qt2UG93iyBQ E54w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MvjIoQVD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id a18-20020a170902ecd200b001cffbe81706si1630497plh.354.2023.12.08.05.16.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 05:16:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MvjIoQVD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5F4D680ADF37; Fri, 8 Dec 2023 05:16:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233597AbjLHNQA (ORCPT + 99 others); Fri, 8 Dec 2023 08:16:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233499AbjLHNP6 (ORCPT ); Fri, 8 Dec 2023 08:15:58 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54377E9 for ; Fri, 8 Dec 2023 05:16:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702041364; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Gb0GPMiMlGSDj0aJqLOnlqDRREqBTKMhjqExl2I2m1g=; b=MvjIoQVDOYkGoyHdDiHoy8xPt3PzalnCC/m895PCbapJbBIBmc3r67+TYTmrVFI8opSmm+ 9FA78fH5Kb1+MOmtTLHRFjJm6Qhisjue36D4ldaS37YUBuPoICuDrPuEVtHa8Ew79kKr/h AWXRQqYQTQH5GmDT3WHE4eNcvVoJqRM= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-114-S3kEsJVQOfybehL8PHBI1g-1; Fri, 08 Dec 2023 08:16:02 -0500 X-MC-Unique: S3kEsJVQOfybehL8PHBI1g-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A7577830F20; Fri, 8 Dec 2023 13:16:01 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.131]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0D4953C2E; Fri, 8 Dec 2023 13:15:59 +0000 (UTC) From: Florian Weimer To: Christian Brauner Cc: Mathieu Desnoyers , Tycho Andersen , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, Jan Kara , linux-fsdevel@vger.kernel.org, Jens Axboe Subject: Re: [RFC 1/3] pidfd: allow pidfd_open() on non-thread-group leaders References: <20231130163946.277502-1-tycho@tycho.pizza> <874jh3t7e9.fsf@oldenburg.str.redhat.com> <87ttp3rprd.fsf@oldenburg.str.redhat.com> <20231207-entdecken-selektiert-d5ce6dca6a80@brauner> Date: Fri, 08 Dec 2023 14:15:58 +0100 In-Reply-To: <20231207-entdecken-selektiert-d5ce6dca6a80@brauner> (Christian Brauner's message of "Thu, 7 Dec 2023 23:58:53 +0100") Message-ID: <87wmtog7ht.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 08 Dec 2023 05:16:10 -0800 (PST) * Christian Brauner: > File descriptors are reachable for all processes/threads that share a > file descriptor table. Changing that means breaking core userspace > assumptions about how file descriptors work. That's not going to happen > as far as I'm concerned. It already has happened, though? Threads are free to call unshare(CLONE_FILES). I'm sure that we have applications out there that expect this to work. At this point, the question is about whether we want to acknowledge this possibility at the libc level or not. Thanks, Florian