Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp27385img; Wed, 20 Mar 2019 13:15:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqxO3boLejoP2ZQq8qHVVFFeGgefvmNV3SBn/eqzwKGc+04WMIbJ5jLssRKnfSi0NXVHFLOC X-Received: by 2002:a65:6644:: with SMTP id z4mr9125972pgv.198.1553112954891; Wed, 20 Mar 2019 13:15:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553112954; cv=none; d=google.com; s=arc-20160816; b=mn9ezmT+h3EXeFPBFjBCZ7O+PArIGrPNlFIhYj09iBPlPaw1V4uc3Y4hJm+gZMaWAH bxDtGz5IhZ9RnPlp7n+b0161wiR7N/deplh/RkoaDJ2mncgWSzkNl/dBGo8rq758xRd2 4NtCpz3t6fRV6efAt2wxJdA4NNZfpO1Bky+Tgdin8TiHlNv4i/ftsVZfL2j+mb+uURtD krtkAVBZ4kd6FJ+7kUqmD/cTdBZLdX7JH1XYCz2usyO7I36+8tGkRcJbK93TEtmbONAd E6hcaiINRSQq12h5R4rDz2s0kSu/8UV/ejzSai27WBBOJvlxPcbENIa/7N3vfMYGDbFB OdyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=1zZeT05whuybyDrapIV48mjlbNFtb37A7qCqc56yIGc=; b=Vxw89zCdXik5AcgoiRjMFbzE8qcyEmjS1FzW7shTCGC0sU45YQ9dPmCGFtyygjFNJc W71+NsrvHV/npPt4jF3Af4l8m/6aJ9zCvcbT3D+o2L3zUnbGu7r1P3MAv2nIqGjf4HjA FjoCBKwJfkduZrrozLpEu34nUj3dxkEw50Z5zLPcn4v/un3yiVCvQ+E3YkeJrYDeZe3/ ECrJ8Tllphr9Ma/gUeAIX3Hnxyd97cMYbd54+qeC7QTd90o9Pvh5wnjFE6FHWrscwEFH oOF0RUMPgYvRztY71g8mFnwsJRMzm95NFVx3Vvh5o3+4snlmzbA6+vZT9ywS6NNGn2x0 EKKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=SUGkr8+U; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c10si2512906plo.197.2019.03.20.13.15.27; Wed, 20 Mar 2019 13:15:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=SUGkr8+U; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727116AbfCTUOP (ORCPT + 99 others); Wed, 20 Mar 2019 16:14:15 -0400 Received: from mail-vs1-f41.google.com ([209.85.217.41]:33538 "EHLO mail-vs1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726023AbfCTUOO (ORCPT ); Wed, 20 Mar 2019 16:14:14 -0400 Received: by mail-vs1-f41.google.com with SMTP id z6so2347092vsc.0 for ; Wed, 20 Mar 2019 13:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1zZeT05whuybyDrapIV48mjlbNFtb37A7qCqc56yIGc=; b=SUGkr8+U8A+feG+he2GxGRPbRli9k4Lhvgdv4UNdAn+BCYrH5B3S63+f/E6Lig0jaM r00scBwv/I0DzUltES4SZEQtSaNqC29J0eY7D6geCUAx9nsBaauXBr20uLsd0hEMxcEL Vay7kVd8DQQsYp7UzkNgtAcM14pklSRg/umAUagtAoz92ul0FaLcZ4S6MVjzDU+k5oa+ wf7Lwp2oGoMc2clGMZV0T8xyYoiwPtmTYmbWPfJGQCUTA1TBUv1AK2M5/txBZesOA6hJ d4KZ+Hl0VsZfFQeIAV8lBCYCWEJbLGP5WkgeM6y2yqGwcViZLoIVoauwdZZLE+Tpmcnl woCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1zZeT05whuybyDrapIV48mjlbNFtb37A7qCqc56yIGc=; b=ThO+SvFWm9qaFkKHGfCVmP7HClC27EVetyemZO8j7wrVJnbCsXDEkaeBdXcK1LWE9A gOW7xT4EjqawrQMcM9Lpz/gu7dEQmQgUJJzmgSebalBMV4XWiDHntK1L9kxsUMDv6atr +cXsIU4HsplJ4X8tt1x9ZPIKRNyfoquhFcUan7N3I8jd/sOvj7GB0daWQLczBZUsHIoX WDZCfDbyEqFEtciSjRKEJQ/6YEidYaMQ5M9/FduSOIEHfKjDkAc5FI/SCRwO7L/YWDcY 7M+mo+xPMuZX3KJdy6bzuXd0IAjzITDha08ZitSvGxYEaZSa9VChtvtWaXxJvMnvKVmh tr+w== X-Gm-Message-State: APjAAAXAOhAXLxQOghBwVnYV2BpYuq5S5XlQjzcXW6i0T2WchUK1j7if 901fvy0ZPFNR/edBxhHPutLIiz/zVTGquCCR14wj9A== X-Received: by 2002:a67:f353:: with SMTP id p19mr6248659vsm.114.1553112853311; Wed, 20 Mar 2019 13:14:13 -0700 (PDT) MIME-Version: 1.0 References: <20190320200702.GA27111@avx2> In-Reply-To: <20190320200702.GA27111@avx2> From: Daniel Colascione Date: Wed, 20 Mar 2019 13:14:01 -0700 Message-ID: Subject: Re: pidfd design To: Alexey Dobriyan Cc: Christian Brauner , linux-kernel , Joel Fernandes , Andy Lutomirski Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 20, 2019 at 1:07 PM Alexey Dobriyan wrote: > > What would be your opinion to having a > > /proc//handle > > file instead of having a dirfd. > > This is even worse than depending on PROC_FS. Just for the dependency > pidfd code should be backed out immediately. Forget about /proc. We already have pidfds, and we've had them since /proc was added ages ago. Backing out procfs is a bold proposal.