Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2396411pxa; Mon, 3 Aug 2020 15:19:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdFOrYid3GxWQTlID6OLyh14FJ+oDM5FsCPYdfY2Lif2skmOlnt4wt0lRwMxcGMPKYbhhQ X-Received: by 2002:a05:6402:22ab:: with SMTP id cx11mr12784871edb.102.1596493195559; Mon, 03 Aug 2020 15:19:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596493195; cv=none; d=google.com; s=arc-20160816; b=AAyo6PxNUmRWime0h5YfsTPn3qOmCXcLRGSQaTNNOPU3icSiv+g5tnXsJdpEEMRO9l 3WRBRexowmfNvGMg/1Ge+QVfOkrD5+b8YIj+jKaZokuDkL40HbMBz5kYKAcDfb2fuGuW VNgQPxmu0m/3dr237CDO6E2koMqouYf/HXvQXvBfssv4YZPqggdZNGFP5f5rkYBF/Nir 1hvK/Uar96LnypVr4JzojSbqKrFwnHu2M0ByqG21O+xDUX1pFoBG2h3pQ9nRVy8M0CeW FcYEcVKdOSmaLiEK/qafq09ndjh2sZKzYxMGc4WPhqazjhINXLSvqnjLYPbgsLEmhnMf gPhw== 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; bh=hEI2jyZOUqILmsoPlZpBvw024rRfRyS364pDeEPiq/E=; b=TZX8oE1JWotsjoXkhHEX81yw9EXDMi2stxUsQDeL8bpmgJNyF3O67OV4eVEDd++FbC uRuA3BY5KiaH3ZQmzb2k20TVbe/at8t9rTEe1QJqNNIgg6ISj5lW/nvF5hIaKkLC3ufT c7VwE0RdAx6LV7Y+956E0DRPtfHzaXotcRKxdlc4sabEw4Rpe3AUS3g5UnJgswf5iNoo HBjcTcqz1bw5Ts2ttucSXp4X1u2RFA3M1hPZLqyPq9IEVNCevSApBH9MKRToVYiyusxG bC7N5cFBSGRADehSD7IHDvMcU0PCFquR7OjADsVKbCo+mFk2IB6RsPRux2qyL9i0WaMq mqgg== ARC-Authentication-Results: i=1; mx.google.com; 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 bs1si12566489edb.76.2020.08.03.15.19.33; Mon, 03 Aug 2020 15:19:55 -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; 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 S1728416AbgHCWTR (ORCPT + 99 others); Mon, 3 Aug 2020 18:19:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726693AbgHCWTR (ORCPT ); Mon, 3 Aug 2020 18:19:17 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CE46C06174A; Mon, 3 Aug 2020 15:19:17 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1k2inG-008hFR-8F; Mon, 03 Aug 2020 22:18:54 +0000 Date: Mon, 3 Aug 2020 23:18:54 +0100 From: Al Viro To: Kalesh Singh Cc: Jonathan Corbet , Sumit Semwal , 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: <20200803221854.GH1236603@ZenIV.linux.org.uk> 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> 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. No, with the side of Fuck, No. Driver has no possible reason to watch know the descriptors involved. Moreover, it has no possible way to track that information _and_ no locking that could make that viable. NAKed with extreme prejudice - never bring that idea back.