Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2191052pxa; Mon, 3 Aug 2020 09:37:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQMyyMQy/+TK8V/VAKJmyXg/x50I7sZcDFzG2kimD5gNq0IssyLZXb9NaQUBhPF2WmX9y/ X-Received: by 2002:a17:906:4dcb:: with SMTP id f11mr3581590ejw.454.1596472652267; Mon, 03 Aug 2020 09:37:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596472652; cv=none; d=google.com; s=arc-20160816; b=EIuRSdj0tMJG0/MZN2wdTHZ90+ux/jrVwxpEsD5/LB5r+jP+miE1azlFCo3s7GpCr1 EDENw2yX5RUQyWmnNF1Jnrdq3s5rhX1haDf65j6z3XzT19LcCGgPUonX7MdNkwDvGfwt g6Gy1hxTZfRySuGbaTed25HqGauTOy/ZFHqRNwEopWL2R2qtEj3VokC7hC6VAXgcq3Cd gDTyp1Os49ThGTQUZFFDP4r5aLpe8VyLrHt/8oeKPcj0M95xV9RE+/j/drM3lc06sLGs drLFM/ing38tHs2vaQWdjGu6947/XigSqD+MbWgT3cO8cgyKudWQZlRM+flaKp+iAMav okRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=16ecIfKYTC6wA0DdewyyTEigHELGFn55FwwngqqMb48=; b=H7RIO8ItmzeJ5E1kcXjf/RdZjZ7wueyRRcGj+fRZY81k4QaTrTcBvbTU+3WQ5nBtyg RFkDse55see1q4PmsAbpeN+SuC7Kdm970VLM0IGkEfaWcPRPiqPPxFIAjG2hEsej13lY ztAP9OFEwQFM8VtKT+6Nsf8cGeDCwOxkGvleUw9KsFdS4yjE5b9rE5xOO5BVPUbtRNsy rSioacimaD7qhyEB2tBo2658bvCR1vuzfqk1BMpC1clR0iMNsQieBkqs5HCNxixmUkkU wyVPwokIXwFaPdEZrzV8qfjsiDKjGWaaIB/BdiECt98krCpCVnWtSKk9rxm7sxykL1M3 B9yA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=ZX1YfeI+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm10si12652367ejc.432.2020.08.03.09.37.10; Mon, 03 Aug 2020 09:37:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=ZX1YfeI+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726664AbgHCQeq (ORCPT + 99 others); Mon, 3 Aug 2020 12:34:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726189AbgHCQep (ORCPT ); Mon, 3 Aug 2020 12:34:45 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CF53C06174A; Mon, 3 Aug 2020 09:34:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=16ecIfKYTC6wA0DdewyyTEigHELGFn55FwwngqqMb48=; b=ZX1YfeI+UTqupGHYcevoIHrxnX S99QlFQhbTDmeGpKj+bDeoA9VVtzf+xI02TbV/C1JyQuYz8CEdH3NeOAaRfohAxcO9vIiFJmIxGLx +f31Ws3bI2wpDkWLsWKit3Vega/7/vwgl7kN5jiTZaYeSaIsvfYE+vdqWqUZrSnTCr2ZzD+SjEFRt AczXQuwbJDucOp/L17S5/yFNAhbN9YnNm3S39i8+2YyBiuOI1WiVojYJK+rnEYMGRbyPwFWT//mXo b9/unNrPWJMJovAz5l1cxHtnQoVZk6fF1mv6pltctOjb8fzvChuERjpiKpUb0pXZM2RfvUQFH5+Es Py+ysuBQ==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2dPx-0003zS-JQ; Mon, 03 Aug 2020 16:34:29 +0000 Date: Mon, 3 Aug 2020 17:34:29 +0100 From: Christoph Hellwig To: Kalesh Singh Cc: Jonathan Corbet , Sumit Semwal , Alexander Viro , Steven Rostedt , Ingo Molnar , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-fsdevel@vger.kernel.org, Suren Baghdasaryan , Hridya Valsaraju , Ioannis Ilkos , John Stultz , kernel-team@android.com Subject: Re: [PATCH 1/2] fs: Add fd_install file operation Message-ID: <20200803163429.GA15200@infradead.org> References: <20200803144719.3184138-1-kaleshsingh@google.com> <20200803144719.3184138-2-kaleshsingh@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200803144719.3184138-2-kaleshsingh@google.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 03, 2020 at 02:47:18PM +0000, Kalesh Singh wrote: > Provides a per process hook for the acquisition of file descriptors, > despite the method used to obtain the descriptor. > > Signed-off-by: Kalesh Singh I strongly disagree with this. The file operation has no business hooking into installing the fd.