Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp2618631ybb; Sat, 30 Mar 2019 09:20:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzY44uOteL6NEE+Plf54hQ/mgTekQYJjPmxqP7LPgVGoNwhvB/T0JbjtZrYE8mIS//ywYMI X-Received: by 2002:a62:482:: with SMTP id 124mr50527961pfe.191.1553962842089; Sat, 30 Mar 2019 09:20:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553962842; cv=none; d=google.com; s=arc-20160816; b=RqBcM8lqYR/jsj2taaXDww+nkSrIoBMJrhKiwDS5saogUUWVnEFGkMaioeGIxBtw96 CfmCXSlMF79HSggyAmWBNTewnHEM1ud1Bw8C0o19P8eCeyVPjcHO0/dyssA9/Ev5wXRw 7WZa7XLXh/VhP+DkQu8ZZ59/Zfnp9P7Dm5MNr8MyJTUnO2xqzJ9cogaDJxrPKN4CRiU5 jez69XasscewBRH6q2uP/AKD8KbfYvVXNkCrEZ7MJkUxtWrY9nddTUkz7J14PpJLrxMi Bf31JRln6RFbPxCqzUrA6d+V0F5ehY9Gh5Uy8DEaM0RXX+hjviLg2JE6riHYX53K7sG0 VUJA== 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=E1GhFU3iV1H35FPX24qZfXe3AgxfHGfcTzIPyzWQhGs=; b=GblXqW7td6Au6IR2iooTBcFsj98aBVaDQfzcGdvKbpx+rsbnVnpg/tuWB6kKJRZh6M TmTNMK5clqOe7/dFudhOB2o0xLF/cNl9DPOgpBF3XrkoZ29GZcvrSWBwFCAuqwm1uIbM WCkmYXSJ+A6AuDoBLRrdH8FVh63l//8SJxIY8wVNZmAy8dkLmFKjnZhQqIiQtUbJuKXw JYPxtj6IHUskQzCF1sHG9m0eVFB8d3fPo4GbFkXPXa7El4cLFqwey/kfibHLRn6eG1rF 8+XLkqxHKyp/QooW8Zl1Ps+viClY3rmT6HkXj8QNRV6z0KZFfPAz6HNjJg/UM1ir8SlQ 1LYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=ehOJ3mds; 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 f1si5008786pld.32.2019.03.30.09.20.26; Sat, 30 Mar 2019 09:20:42 -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=@linux-foundation.org header.s=google header.b=ehOJ3mds; 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 S1730947AbfC3QSd (ORCPT + 99 others); Sat, 30 Mar 2019 12:18:33 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:42311 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730824AbfC3QSd (ORCPT ); Sat, 30 Mar 2019 12:18:33 -0400 Received: by mail-lf1-f68.google.com with SMTP id b7so3437267lfg.9 for ; Sat, 30 Mar 2019 09:18:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=E1GhFU3iV1H35FPX24qZfXe3AgxfHGfcTzIPyzWQhGs=; b=ehOJ3mdsT9qaHYJDm4hJ68bj1MybQSXLxH9aUESrfc6rGlN2WiDJUChtavLzzn55E6 FvPJ0L/ApFmGfNI3CYnCInMxeenRr57AJhL8UgL3Da6Zjq9HyUUJbaaSDd33QdFzyg0K xV/J7Ixzaudrtw5G76O5Szb66bLc+vYOlWzHU= 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=E1GhFU3iV1H35FPX24qZfXe3AgxfHGfcTzIPyzWQhGs=; b=olhICG9tg0ffanNMK5/mM1baYjZo96eyifZwqSEFcgHk1Lew3HXAgzypHafVysXQDa UB+oiSqW88IFexytbj0L/EEAxco6UfH7tsWRG4kbhGHJGoynEjesu8naJ0CSnfwgxsf2 c/AAVWzQdeSXlmk5uiPVN+wZGpjlaMq17dR5X2jK9XlOe1tMw74Kq6W44tLP0zq7oiSr 2r3gcNLzDWj3eXuPcsMrtUHScCfAbqo+yjeL0K5dW7KlM9d9Y66iNsBRNP3yT14+AfPe ByrnffA9X1BvJH7FkkX9sUuLwQUjt7lDLxmzh0wOzqbkKuFhqR9vYZ+zfWiyK48snz6W 9k7A== X-Gm-Message-State: APjAAAVjpfJ66qGk6MMf8fRkN8AbxrJJt9RamILvCoYSuMP72Q09yXFM s48oS08bSrTdGJ6G496oQP3Tezs6Ae8= X-Received: by 2002:a19:ed19:: with SMTP id y25mr7574413lfy.80.1553962710355; Sat, 30 Mar 2019 09:18:30 -0700 (PDT) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com. [209.85.208.170]) by smtp.gmail.com with ESMTPSA id c7sm1079744lja.90.2019.03.30.09.18.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 Mar 2019 09:18:29 -0700 (PDT) Received: by mail-lj1-f170.google.com with SMTP id h16so4478325ljg.11 for ; Sat, 30 Mar 2019 09:18:29 -0700 (PDT) X-Received: by 2002:a2e:9ac8:: with SMTP id p8mr14234758ljj.79.1553962708756; Sat, 30 Mar 2019 09:18:28 -0700 (PDT) MIME-Version: 1.0 References: <20190329155425.26059-1-christian@brauner.io> In-Reply-To: From: Linus Torvalds Date: Sat, 30 Mar 2019 09:18:12 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/5] pid: add pidfd_open() To: Daniel Colascione Cc: Christian Brauner , 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 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 Sat, Mar 30, 2019 at 9:16 AM Linus Torvalds wrote: > > And no, we are *NOT* making pidfd_open() into some "let's expose /proc > even when it's not mounted" horror. Seriously. That's disgusting, > wrong, insecure and stupid. And btw, this is not debatable. In fact, this whole discussion is making me feel like I should just revert pidfd, not because the code I merged is wrong, but because people are clearly intending to do completely inappropriate things with this. Get your act together. Stop hacking up garbage. Linus