Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1860584imu; Sun, 18 Nov 2018 10:17:36 -0800 (PST) X-Google-Smtp-Source: AJdET5dcihaa8r4FmSus84qqgtfuiBMLGaqMfuavCO4CMeMEhAwGGCdMUKRG/Zun/qn1q/g/leZP X-Received: by 2002:a63:2054:: with SMTP id r20mr17192887pgm.328.1542565056126; Sun, 18 Nov 2018 10:17:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542565056; cv=none; d=google.com; s=arc-20160816; b=v4rFefKbfWKrAQJBO0cEKIRxZtrkYlf2QJbLx6bPMYP3uNprNlPomY+A9qCmF4assT QFPlmzylVYhXL+EV8NwsmN57NnTPmC48gewIKuNRq7LW7glrp+hegCVfASC5GRsq0G6y ygJtmjVxSwLAqNH1oZGSz3IE509U5CApkws27zLI6zpbiXRCrbIfAhqoMBRebMREoAH8 bmP6VFjKEmarAYOf+0TS+NMD858GlEWni+BRlgIjBCQL6vQZpadlBwUpoKdfSoy9tOoy FXm70vxZSjkdWjxOPrwsT9+s2FWv3gnCXB3mKoUgaPksM0NAF0H59WY3zie5o26Y6XWp K5Kw== 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=ddxQM4D2/kgRgJMLcMMCha1Mc3Ke1brOINjei+7hlbo=; b=ZzZ4hyLAwaAuu1n9ilgiQnj3OhaiAf27RSkrjmdoc6UXQDB/hmEweSzhYLws1E+9tT 9U/WryXwcuyH248C8m57UPf0xxOhUN0/Ws37EcSuvRxy27swv5N+/18apZphMu9hTGc2 j14syQ6C6tzAEdmsanNcR1WbD4QVREV8qo65Jkk8J6utAl1g/0j3M/Fj3O4Qi/AFjLpE WDuvAL5ky+6MVqSVE6EzUtFlw99JCR72rkD+WwIEyBwksaKZji+xoVgPc8fRVyRQOjM7 fxbJPSRKfocBxjjaXXOik88IaUkVh7vCjIREDguKDeEnh04rpwHMwd6uifNDfb/XnamV Jpsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ErI5NExB; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s24si4310461plq.41.2018.11.18.10.17.20; Sun, 18 Nov 2018 10:17:36 -0800 (PST) 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=@kernel.org header.s=default header.b=ErI5NExB; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727245AbeKSEgW (ORCPT + 99 others); Sun, 18 Nov 2018 23:36:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:52368 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726741AbeKSEgW (ORCPT ); Sun, 18 Nov 2018 23:36:22 -0500 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 30ABF20869 for ; Sun, 18 Nov 2018 18:15:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542564925; bh=yfcFrIAFT4scKWN9bupr6FohMuwkTM1qu3KEAjvYSB4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ErI5NExB83UB8S5rPWj9i1HtnaUHmOJTgM7/uk4gHsKEtzxLdX2DttM0QTKS3t+E7 D9j25+9DuectQI1aKJ3X2HsUcqGsR4EEyPNXqXowX6YedPlXYr9lYHxqUb93EAQ/6e rTH+QPaErdGU0QGsxxL7YB+GhIWNbrDLGGqrVoBY= Received: by mail-wm1-f53.google.com with SMTP id u13-v6so3118897wmc.4 for ; Sun, 18 Nov 2018 10:15:25 -0800 (PST) X-Gm-Message-State: AA+aEWb977eb0l4hM8K4w++Y1azX2LhEB3fALunABvDxstAwB0XXRrzd i9Zha/88Px1eiMuay7T9RMkLhmqaqPmFCU/IQ3qnMw== X-Received: by 2002:a7b:ce11:: with SMTP id m17mr5081690wmc.74.1542564923629; Sun, 18 Nov 2018 10:15:23 -0800 (PST) MIME-Version: 1.0 References: <20181118111751.6142-1-christian@brauner.io> <20181118174148.nvkc4ox2uorfatbm@brauner.io> In-Reply-To: From: Andy Lutomirski Date: Sun, 18 Nov 2018 10:15:11 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] proc: allow killing processes via file descriptors To: Daniel Colascione Cc: Christian Brauner , Andrew Lutomirski , "Eric W. Biederman" , LKML , "Serge E. Hallyn" , Jann Horn , Andrew Morton , Oleg Nesterov , Aleksa Sarai , Al Viro , Linux FS Devel , Linux API , Tim Murray , Kees Cook , David Howells 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 Sun, Nov 18, 2018 at 10:07 AM Daniel Colascione wrote: > Next, I want to merge my exithand proposal, or something like it. It's > likewise a simple change that, in a minimal way, addresses a > longstanding API deficiency. I'm very strongly against the > POLLERR-on-directory variant of the idea. Can you explain why you don't like POLLERR-on-a-directory? I'm not saying that POLLERR-on-a-directory is fantastic, but I'd like to understand what your objection is.