Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp746761yba; Thu, 18 Apr 2019 08:54:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwfF3108+ZYOdcodTpYScza9RHFY3dvLsI/IjZQR1q8XfoKo7dkibf9XmHNxU7JQ0Xt/FW X-Received: by 2002:a17:902:298b:: with SMTP id h11mr73541653plb.258.1555602881919; Thu, 18 Apr 2019 08:54:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555602881; cv=none; d=google.com; s=arc-20160816; b=cljVCMS5GJxTtL0hUYiPYymYyHu/YUJDKtDa/dStsVoKFIlJwCRtXjo8gd0jtkHTPO oPvaRth7E7K22RLeyRoa+I9fhdT0rL+CLKHqEQ3HhUOimfYDMDVk3ZO6TjKIwosFolgl NOLdWC32eZgPQi8IumJEE8ehXBmh4oNgTmssqVwSHZLUiKy6APDI7UMnIP93hzK1f64l E3LSpxjT4c0OaSzXWGvdxS9F0BeswEcSnsVtQ7+GOxuUJmtia+ksnxAK/SXJvO0dEPGK NA2q/JSZoBE2FNQCxU/qxGon27P4j0hUIxclTAx9fnC3/qhma5mlkuP8jHPR5FwdNLuL W8Nw== 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=L53lhPg4hmdfsHP95tEaUBTmkpDsQDuRZ9hE2WocPD4=; b=duXaJ8Ky9OfBlUFvJ6JYrlHMz7A7B8K6pmYPL6wS+BnKvwLzF9kpy77ycVdtkgYtOi eFIz7wJXD3M2X59BZq211rm+LAibEPLjPWBVW5W8WpDDe4bdu/0EQvZJoDKpa0c3+HmG GFlj/VrsLnZmsUxLzSNex5XSmIOsq5dByd3SJCCMNS83KL6q4MT38V5SUoa4oohnY3OC Y+t2w5MmpUwoJ/Eho10/NQedF4bcmvySwg4OPHFYuXRrFnuvW05w/pTqyI3NsbD+y+tk +bo+ZeQZMp12PkiASBG9DDs5MYursLkvrrPd1POmdBY0pvcNMIdQFWoJ2IfMBiuv9kJV uYFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brauner.io header.s=google header.b=eN2GHGyA; 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 m19si2210501pgk.76.2019.04.18.08.54.26; Thu, 18 Apr 2019 08:54:41 -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=eN2GHGyA; 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 S2389102AbfDRPxb (ORCPT + 99 others); Thu, 18 Apr 2019 11:53:31 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:42368 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388097AbfDRPxb (ORCPT ); Thu, 18 Apr 2019 11:53:31 -0400 Received: by mail-ed1-f68.google.com with SMTP id u23so1880343eds.9 for ; Thu, 18 Apr 2019 08:53:30 -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=L53lhPg4hmdfsHP95tEaUBTmkpDsQDuRZ9hE2WocPD4=; b=eN2GHGyA902+7w2dL5xBI4Zpi+lQvZNb0DzVLddpCw3nQGKSPjUCunZVvZCbcbB+mP K2uDpJ5kbloS8No96Rja/FnyG0CJgRhj/wt+5eTcUngxVTUFYt58qv204VFwLLyjgoz7 cr+llnXJvjWkWYH6lss5JUCyIDcE/w+mP74W03PwzoUGniTuNeMajLsVzQRx+VINLsK9 8brSmC/prH4wKlahslgTgrjt81pwg9NcynAz21jOziVdQJs+KSaIPGLmIAOINCrvN+x/ BvnP1kQC+GEGDYxZHkdUMajxcg4yX9Ab2h4OanL93hgMUm+dLKkvJuqpQp0mY1S/b+0i FROw== 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=L53lhPg4hmdfsHP95tEaUBTmkpDsQDuRZ9hE2WocPD4=; b=pECHrme8a0TCYqctyo4nM2oUZz0eqkFnO3ph5zs0+ovwGKWPRorNJUP5leYNYLJK+R EmHS1hBom5kMwS7nmty1wtDuE6qX4UrIjIyDSCsg6PFk04m4Ui6ku26evC45zgi1MsOz kNxo1VBSe6fZzm2tSHkaiqhkL9hp9t9sHKk0TmFvwQ/vMfKh8ekC0+qVkQX096HGRUnt zEEFioy2lOSmKZirhrqATxbzUcBr7w5+ddPRl/9u7XF/IJlpDRek5q8XstYd/OLEtvkS zo7m7PXNsndTIf2sDMZAR9ZTdcin31Xd2IaDaWAlYnIfx8+vn3kccTbJkA1Y9oN+EpET xbLA== X-Gm-Message-State: APjAAAVxuMXrbkJnJNaxwE0YEqPv6Lu2LaiYx0b9pUytf9nyLa9rz8rM S5zQ3pI54lGVZTNJUl/1pXje6w== X-Received: by 2002:a50:b6e4:: with SMTP id f33mr31042641ede.2.1555602809196; Thu, 18 Apr 2019 08:53:29 -0700 (PDT) Received: from brauner.io ([212.91.227.56]) by smtp.gmail.com with ESMTPSA id s11sm450412ejq.59.2019.04.18.08.53.27 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 18 Apr 2019 08:53:28 -0700 (PDT) Date: Thu, 18 Apr 2019 17:53:27 +0200 From: Christian Brauner To: Linus Torvalds Cc: Al Viro , Jann Horn , David Howells , Oleg Nesterov , Linux API , Linux List Kernel Mailing , "Serge E. Hallyn" , Andrew Lutomirski , Arnd Bergmann , "Eric W. Biederman" , Kees Cook , Thomas Gleixner , Michael Kerrisk-manpages , Andrew Morton , Aleksa Sarai , Joel Fernandes , Daniel Colascione , Jann Horn Subject: Re: [PATCH v2 3/5] signal: use fdget() since we don't allow O_PATH Message-ID: <20190418155326.nvjzvrhshi4gbib6@brauner.io> References: <20190418101841.4476-1-christian@brauner.io> <20190418101841.4476-4-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 Thu, Apr 18, 2019 at 08:37:28AM -0700, Linus Torvalds wrote: > On Thu, Apr 18, 2019 at 3:19 AM Christian Brauner wrote: > > > > It's just semantically correct to use fdget() > > and return an error right from there instead of taking a reference and > > returning an error later. > > I've applied this one directly, because it ends up affecting the > existing code, and I'd rather just have the initial release of > pidfd_send_signal() right. Perfect! Thank you! > > The other patches I consider to be "future release" material. Yes, indeed. Jann and I are targeting the 5.2 merge window if that's ok. Christian