Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp2631138ybb; Sat, 30 Mar 2019 09:38:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwiW7cjO8Sb6GV/Z7FjcH6yC8sodGXyxQuQZ15K1Nu3aBBhxiQ2WjBUKXmuA7ZryOC1V3hg X-Received: by 2002:a63:750c:: with SMTP id q12mr18809874pgc.133.1553963926127; Sat, 30 Mar 2019 09:38:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553963926; cv=none; d=google.com; s=arc-20160816; b=tRPiG7Afek/4BhWrIPhsMsY4sV9Z+E2AnrGBjpBc8+yCsSshl17Hgc5P34bXc3u0uS sAzCXyIzvfl21ZNa7Gf1V97fPq2MX5VuDmYW4cNTp8sIqOdZLY8pK7W5ma+86/xGTChF BYDAhj4ymt6+nHAXKiMR5lq29Gz0hav3LyKTqcyKvsO4mtvlzd8zVC/zkCHuW12r9RlK tbPlhl5Tp6N7q+Z0pQ03Boj9BncuqzqhqBqf5V9tLBxa7rs0J8eJ9o11ZFjnNvM9eMlQ GVybdCQHyKyTQ0JLvHhSFDovD9DzjsIdKNlvmFtPKY4O+QZMxp6Jdguta1Gx1AvtBraI yS8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lAlaBvZln3OcH8jWEtLWTfLVSLJFabZ2pEmyETLvNgY=; b=UKy2qKZ++pHV9BzPNtJDg8nTKohDzzq/aXWiemmUniSf1RFTqdBJ745p4M0fQhbZfR aNpcccGgwuk9QGjf+XoAWmhn+LPkU3gWiTFtgGXIiq6Mlgv3uW3eWAjDtsWnHhZ5QzZA M9LYqFqHM3/+raOdtHUYhbp1YZUeDUlEqbZZquLiErh/xCHkKD+kY83ZetQM7qQ4scQ/ OVcX982bjberyWk0BWpn87Zu2UzuY0HkaF8BvSlOw2grJb9OMDwfBMn5GPjqjA+qcYz3 KfIsIO4hsbDky+RZLoEUocaLXUEpdeOCz23wrpNp+J20LwEbNhssEq/AmkkGL9cC+N1O 0yOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brauner.io header.s=google header.b=XymbbZ9a; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r17si4835668pgh.311.2019.03.30.09.38.30; Sat, 30 Mar 2019 09:38:46 -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=@brauner.io header.s=google header.b=XymbbZ9a; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730563AbfC3Qhz (ORCPT + 99 others); Sat, 30 Mar 2019 12:37:55 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:33640 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730396AbfC3Qhy (ORCPT ); Sat, 30 Mar 2019 12:37:54 -0400 Received: by mail-ed1-f67.google.com with SMTP id q3so4626353edg.0 for ; Sat, 30 Mar 2019 09:37:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brauner.io; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=lAlaBvZln3OcH8jWEtLWTfLVSLJFabZ2pEmyETLvNgY=; b=XymbbZ9aoBF582S/LUqJzGPgzyYz7pEwzE20We6kOZ0cgO4myilhavLpjB0L9qBm+T 2c+50oEl+uVhKymm+JMTIllfLG8sWc+B32pDLvEcpSmilV+qqoJ/VOHE82EOljlF8Fqt 0+CNB6WwKQ5m0yoso4X2ppQm2wryLy9QsAEIDyFSJ9A7gjx37z86pc3LTuKwuTrNt4Bf VLqQpuFClkZlJpqFG06Oq4m1SOJDcs7WhJh34FxICm9IFAF/Mkz7zjwvwf+bTwqaJtHr VkuLFJaLc4zIDH0YNM/UeNxhkUOQ2CHfqkW1yZUreqGy0Ac+j7FgpnF+7OJI2gAKdy/b x0qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=lAlaBvZln3OcH8jWEtLWTfLVSLJFabZ2pEmyETLvNgY=; b=KNubk1B3BSeqYpH090FCW81OSlYajc1pITLfOMzLcsupPYmnsvSexMeBVOzEuk0JhE seVkKs1HMPuoVBZl0pSpjzgu4TL1/kGm7l2Mh17sUDhBpO4jrfZsXsIE2kB2swhuxJV1 Jo8ahereIoLFhtF1fwLU/bggTCPlofKIOKXlYgoMlzVVqqNrUQ+gE9M0gmONvCbLYOKR dbLllDIa7Tf7tR+J4BZwG5rIC5+s2kb1W2ONP1WBYCHJCEcTgAybTvFdaZXJOs9ksG+G sIDelPAFuM6XM4nJvPg7JGiDBqADZfA7nE4ibh5GoTWNCHuLgMjLt6/PKpNO9FLbB/jv EX6A== X-Gm-Message-State: APjAAAXcA67LB2hEZibj8RzxbfsO4ePugtW0MNNIVRDhoPdgMMfG+ZF5 3yTRE+BETTW9Ic9GydATjQa61A== X-Received: by 2002:a17:906:3619:: with SMTP id q25mr10178252ejb.239.1553963873096; Sat, 30 Mar 2019 09:37:53 -0700 (PDT) Received: from brauner.io ([2a02:8109:b6bf:d24a:b136:35b0:7c8c:280a]) by smtp.gmail.com with ESMTPSA id p35sm1627192edc.78.2019.03.30.09.37.51 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 30 Mar 2019 09:37:52 -0700 (PDT) Date: Sat, 30 Mar 2019 17:37:51 +0100 From: Christian Brauner To: Linus Torvalds Cc: Jann Horn , Andrew Lutomirski , David Howells , "Serge E. Hallyn" , Linux API , Linux List Kernel Mailing , Arnd Bergmann , "Eric W. Biederman" , Konstantin Khlebnikov , Kees Cook , Alexey Dobriyan , Thomas Gleixner , Michael Kerrisk-manpages , Jonathan Kowalski , "Dmitry V. Levin" , Andrew Morton , Oleg Nesterov , Nagarathnam Muthusamy , Aleksa Sarai , Al Viro , Joel Fernandes , Daniel Colascione Subject: Re: [PATCH v2 0/5] pid: add pidfd_open() Message-ID: <20190330163750.xrrqmcyfd2mchamf@brauner.io> References: <20190329155425.26059-1-christian@brauner.io> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 30, 2019 at 09:24:23AM -0700, Linus Torvalds wrote: > On Sat, Mar 30, 2019 at 9:19 AM Christian Brauner wrote: > > > > From pure API perspective that's all I care about: independence of procfs. > > Once we have pidfd_open() we can cleanly signal threads etc. > > But "independence from procfs" means that you damn well don't then do > "oh, now I have a pidfd, I want to turn it into a /proc fd and then > munge around there". > > So I'm literally saying that it had better really *be* independent > from /proc. It is the standalone version, but it's most definitely > also the version that doesn't then give you secret access to /proc. > > And it weorries me a lot that people are trying to play these kinds of > games. I'm just seeing some android patch that adds this horror and > then starts using it. The original need for this conversion thing came from Android indeed. I won't go forward with any such patches. Christian