Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6566899pxv; Thu, 29 Jul 2021 18:44:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzg+wpUwmo43uOy0cHVx3UyQc8v48kSmE+QHyO6r22YMUwuIW7t9tOAgOMpAzdFLUp8QYQs X-Received: by 2002:aa7:cf98:: with SMTP id z24mr64381edx.136.1627609460457; Thu, 29 Jul 2021 18:44:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627609460; cv=none; d=google.com; s=arc-20160816; b=Udt6N5cMGoieGjdjS6ZLyFg40izutStlcKkoRVCY+1tN8S7bF/gQytzj/h4u9Hr1UP btt7KHQzevxC2kTtl4M9vDwzdm42QIq9Zicf9zcFLSy7XwUDWj5bbJabZuRASMVam4Wj hfWLpt0Xh/+6HBq2fcUtgy1Hei8wgSvvtDQPkWCl+3PlS+GRXLcORd2YauZhd+3c6o+v h64iM5wFYlfkJsEeIsLrf4tM0HLNXF6xL8VKjDE3ykKnha4F63B2ftWNP1xyt6mhqpnJ Vf8l8CQAheeE9nBhlJkgZR9amE7auEQMbBdyPe7VottLDLwgXWa4886vsSX/XyA0a8iv odlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=2hfKdpOvM7hhEACk11R5qo6mYT3C5+Xjd6eAeBjVO7M=; b=TN/ThOqVTRn1mbd/vGB6RCOpTt+LzRJBRVz5APGRZ9kkntcA86ZHKzolyskztSyxOE 6nUEw4usrxx5w38OmYE6gjG3kKt1w689HRZ0tofo5HgAYjQCobMMiLmIwLP8fMZ1wbrE Yz+xW5UIhk3yYo8fDDgyra5jE1AOvxRGtCdAvKkYONl5KFPrtEE/x7QnJZ8LOGuwuanq u9TeU3xhu/TZxOgvQ90f/y1YAMu2d8bCwFzN7zA0sX99AoGqtVBqUb/7buvqNHajP8Tm B/2m5JYKvmL/IDNIV6FCrGyWkyD/Cb3hZZzF6dtGXGJsCQ+2qknKKhYcTlhvFhao7JU/ UogQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q25si162777ejn.362.2021.07.29.18.43.57; Thu, 29 Jul 2021 18:44:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234931AbhG3BlQ (ORCPT + 99 others); Thu, 29 Jul 2021 21:41:16 -0400 Received: from zeniv-ca.linux.org.uk ([142.44.231.140]:43430 "EHLO zeniv-ca.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233925AbhG3BlQ (ORCPT ); Thu, 29 Jul 2021 21:41:16 -0400 Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9HWN-00540v-3i; Fri, 30 Jul 2021 01:41:07 +0000 Date: Fri, 30 Jul 2021 01:41:07 +0000 From: Al Viro To: Christian Brauner Cc: John Cotton Ericson , LKML , David Laight , Andy Lutomirski , "Jason A. Donenfeld" , Kernel Hardening , Jann Horn , Christian Brauner Subject: Re: Leveraging pidfs for process creation without fork Message-ID: References: <20210729142415.qovpzky537zkg3dp@wittgenstein> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210729142415.qovpzky537zkg3dp@wittgenstein> Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 29, 2021 at 04:24:15PM +0200, Christian Brauner wrote: > On Wed, Jul 28, 2021 at 12:37:57PM -0400, John Cotton Ericson wrote: > > Hi, > > > > I was excited to learn about about pidfds the other day, precisely in hopes > > that it would open the door to such a "sane process creation API". I > > searched the LKML, found this thread, and now hope to rekindle the > > discussion; my apologies if there has been more discussion since that I > > Yeah, I haven't forgotten this discussion. A proposal is on my todo list > for this year. So far I've scheduled some time to work on this in the > fall. Keep in mind that quite a few places in kernel/exit.c very much rely upon the lack of anything outside of thread group adding threads into it. Same for fs/exec.c.