From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B2B92274FD4; Tue, 17 Jun 2025 05:30:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750138221; cv=none; b=EZK4iIp9NT3Zvd08JJ599wLDF82yRLBw3fFQeqsfVCM0dg51+qsRNEm+oI7SGsmsI8s+8ZUknUDJPO0lq9FQparZPfUdgxQBzbHOYqgMkZKvU3r6JWFg3yDyITOI73uawYpSdwC942hBqHMEWigD49HkNDizM5OTE8qGT7Ye9Jo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750138221; c=relaxed/simple; bh=mFdmSuTfp7Fx2XcSf5gMlGqZKuD5PX48irjsdjSRI3Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KqNnHEsAlJyFSLGibin49tvaYQ2GMdyUkSMtYoOfD2PCdC9O8e8VQhJj3tm6b+M40OQeS4Ty0rpQml7G0yKMh3AdPAs2Lj/v3s+qUVp1gLWb8Xgl5uYW3pu66Ve0mxVVn0KEg2fQbgjQngMgYYwb1yxTt0GPW/cZH2/3VClBYKQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=XKElvTOp; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="XKElvTOp" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=WZqvZdf+IZijbqhRUtEFRIRbPppvWHBM72Lcj7YrYLo=; b=XKElvTOpmuszk9VAFn9HgkecJM 6IAMkL5kZMnt8MjfJ1vEjVj9R5k8ljvXtW+YOI/m2edGELJCrcMgGBduoaMYBeg7G05BznhBLoX1d 0+sjC6CrRtar/13YnEZ7ojmdIvzTqG0vrsEaVHIdNS3S8RLEUQ8NfgMzeEVvr/NdCU+0MqzI/08Qs eqF9MUEWApONmkeFyH9gcOKcOLTSRuO4ITmkyjCk7uTIITEEODimR08aqVL3k19XYNVQA+9g15vli bDzJwWh1cQ8xVe4iWHcZSFe6rLm14eHrz7y9Xt3JYHTI9rryCSovcoiJGylwN91N9l5MOZHE3Cs70 w6WBhyfQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1uROtD-00000006GHz-1YxH; Tue, 17 Jun 2025 05:29:43 +0000 Date: Mon, 16 Jun 2025 22:29:43 -0700 From: Christoph Hellwig To: Lorenzo Stoakes Cc: Christoph Hellwig , Andrew Morton , "Liam R . Howlett" , Jens Axboe , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Simona Vetter , Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet , Christian Schoenebeck , David Sterba , David Howells , Marc Dionne , Alexander Viro , Christian Brauner , Jan Kara , Benjamin LaHaise , Miklos Szeredi , Amir Goldstein , Kent Overstreet , "Tigran A . Aivazian" , Kees Cook , Chris Mason , Josef Bacik , Xiubo Li , Ilya Dryomov , Jan Harkes , coda@cs.cmu.edu, Tyler Hicks , Gao Xiang , Chao Yu , Yue Hu , Jeffle Xu , Sandeep Dhavale , Hongbo Li , Namjae Jeon , Sungjong Seo , Yuezhang Mo , Theodore Ts'o , Andreas Dilger , Jaegeuk Kim , OGAWA Hirofumi , Viacheslav Dubeyko , John Paul Adrian Glaubitz , Yangtao Li , Richard Weinberger , Anton Ivanov , Johannes Berg , Mikulas Patocka , David Woodhouse , Dave Kleikamp , Trond Myklebust , Anna Schumaker , Ryusuke Konishi , Konstantin Komarov , Mark Fasheh , Joel Becker , Joseph Qi , Bob Copeland , Mike Marshall , Martin Brandenburg , Steve French , Paulo Alcantara , Ronnie Sahlberg , Shyam Prasad N , Tom Talpey , Bharath SM , Zhihao Cheng , Hans de Goede , Carlos Maiolino , Damien Le Moal , Naohiro Aota , Johannes Thumshirn , Dan Williams , Matthew Wilcox , Vlastimil Babka , Jann Horn , Pedro Falcato , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, v9fs@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-afs@lists.infradead.org, linux-aio@kvack.org, linux-unionfs@vger.kernel.org, linux-bcachefs@vger.kernel.org, linux-mm@kvack.org, linux-btrfs@vger.kernel.org, ceph-devel@vger.kernel.org, codalist@coda.cs.cmu.edu, ecryptfs@vger.kernel.org, linux-erofs@lists.ozlabs.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-um@lists.infradead.org, linux-mtd@lists.infradead.org, jfs-discussion@lists.sourceforge.net, linux-nfs@vger.kernel.org, linux-nilfs@vger.kernel.org, ntfs3@lists.linux.dev, ocfs2-devel@lists.linux.dev, linux-karma-devel@lists.sourceforge.net, devel@lists.orangefs.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-xfs@vger.kernel.org, nvdimm@lists.linux.dev Subject: Re: [PATCH 03/10] fs: consistently use file_has_valid_mmap_hooks() helper Message-ID: References: Precedence: bulk X-Mailing-List: ceph-devel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Tue, Jun 17, 2025 at 06:25:34AM +0100, Lorenzo Stoakes wrote: > > > Most notably, this updates the elf logic to allow for the ability to > > > execute binaries on filesystems which have the .mmap_prepare hook, but > > > additionally we update nested filesystems. > > > > Can you please give the function a better name before spreading it? > > file operations aren't hooks by any classic definition. > > > > can_mmap_file()? Sounds reasonable. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EF579C7114A for ; Tue, 17 Jun 2025 05:30:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Subject:In-Reply-To:MIME-Version:References:Message-ID:To:From:Date:Sender: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VIJ5Pi2X2sgUn1/zQTqv1YcSSGhY593ZrnPyFmfFEd0=; b=fBlCul+BY0iRa1P/59yk6E5IAq t0oKbZLbcupujtbcP+PXg/ikUSIe6kOIQHCrC36B/n4VxWC0U603n/02n3J6xqlXXRKf8ZvERQGF1 Kv5zl1x+HSDifL+qgM+xxw7nup2sFjsq3nbEYcPjmiC92hxJvuji7qsQ44jJov0j8WMw=; Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1uROu0-0006lN-Jo; Tue, 17 Jun 2025 05:30:32 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1uROtz-0006lB-70; Tue, 17 Jun 2025 05:30:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; 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:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WZqvZdf+IZijbqhRUtEFRIRbPppvWHBM72Lcj7YrYLo=; b=bDozOm6By/opSru57fsoYTVx1d dkgm0p4ku0Vg/WmvkNrq7c/CeNiAp+XsvDgi5VdTxKul2ConI5qL8ftXCY7lBCDUGGeQJezHp/G45 4fHPlRLwGn+rcpzoHeE5BLlN07XsQ722M3TecvJv1pVLcTAa3AGq4HIsW7f22bvrDzBM=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; 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:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=WZqvZdf+IZijbqhRUtEFRIRbPppvWHBM72Lcj7YrYLo=; b=bAB0vW59HbJ8I4o+rIikcTAv1/ 0QBs0so6HQHlIsJs98qwijHPn3symQZ/bE6OSVXsQLc/tiXzfHAExnCMAiUxIFDqZ3/cEuBv+iZ6A EX/pAfcSKysgpsQ6udfm322l43SDxV5HezaYTWWsNYznZBsRAx+YEiKjjATIsuOEcT94=; Received: from bombadil.infradead.org ([198.137.202.133]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1uROty-0003Xu-SR; Tue, 17 Jun 2025 05:30:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=WZqvZdf+IZijbqhRUtEFRIRbPppvWHBM72Lcj7YrYLo=; b=XKElvTOpmuszk9VAFn9HgkecJM 6IAMkL5kZMnt8MjfJ1vEjVj9R5k8ljvXtW+YOI/m2edGELJCrcMgGBduoaMYBeg7G05BznhBLoX1d 0+sjC6CrRtar/13YnEZ7ojmdIvzTqG0vrsEaVHIdNS3S8RLEUQ8NfgMzeEVvr/NdCU+0MqzI/08Qs eqF9MUEWApONmkeFyH9gcOKcOLTSRuO4ITmkyjCk7uTIITEEODimR08aqVL3k19XYNVQA+9g15vli bDzJwWh1cQ8xVe4iWHcZSFe6rLm14eHrz7y9Xt3JYHTI9rryCSovcoiJGylwN91N9l5MOZHE3Cs70 w6WBhyfQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1uROtD-00000006GHz-1YxH; Tue, 17 Jun 2025 05:29:43 +0000 Date: Mon, 16 Jun 2025 22:29:43 -0700 From: Christoph Hellwig To: Lorenzo Stoakes Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Headers-End: 1uROty-0003Xu-SR Subject: Re: [f2fs-dev] [PATCH 03/10] fs: consistently use file_has_valid_mmap_hooks() helper X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Latchesar Ionkov , nvdimm@lists.linux.dev, Paulo Alcantara , dri-devel@lists.freedesktop.org, ceph-devel@vger.kernel.org, Mike Marshall , linux-xfs@vger.kernel.org, Tyler Hicks , Christoph Hellwig , devel@lists.orangefs.org, Shyam Prasad N , Jan Harkes , linux-um@lists.infradead.org, Joel Becker , Ronnie Sahlberg , John Paul Adrian Glaubitz , Eric Van Hensbergen , Christian Brauner , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Andrew Morton , Trond Myklebust , Dave Kleikamp , Sandeep Dhavale , Simona Vetter , linux-cifs@vger.kernel.org, linux-nilfs@vger.kernel.org, codalist@coda.cs.cmu.edu, Namjae Jeon , ecryptfs@vger.kernel.org, Yangtao Li , Jani Nikula , ocfs2-devel@lists.linux.dev, Pedro Falcato , OGAWA Hirofumi , linux-block@vger.kernel.org, Theodore Ts'o , linux-f2fs-devel@lists.sourceforge.net, Hongbo Li , Anna Schumaker , Martin Brandenburg , Kees Cook , Yuezhang Mo , Carlos Maiolino , Joonas Lahtinen , Chris Mason , linux-mtd@lists.infradead.org, Jaegeuk Kim , Marc Dionne , Tvrtko Ursulin , linux-afs@lists.infradead.org, Naohiro Aota , Miklos Szeredi , Matthew Wilcox , coda@cs.cmu.edu, Viacheslav Dubeyko , Ilya Dryomov , linux-ext4@vger.kernel.org, Amir Goldstein , intel-gfx@lists.freedesktop.org, Damien Le Moal , Rodrigo Vivi , Dan Williams , Gao Xiang , David Howells , linux-nfs@vger.kernel.org, linux-mm@kvack.org, samba-technical@lists.samba.org, Steve French , ntfs3@lists.linux.dev, linux-erofs@lists.ozlabs.org, jfs-discussion@lists.sourceforge.net, Jan Kara , linux-aio@kvack.org, Dominique Martinet , Christian Schoenebeck , Bob Copeland , Konstantin Komarov , Joseph Qi , Andreas Dilger , Mikulas Patocka , David Airlie , Anton Ivanov , Yue Hu , Richard Weinberger , Mark Fasheh , linux-bcachefs@vger.kernel.org, Jann Horn , Josef Bacik , "Liam R . Howlett" , Tom Talpey , Hans de Goede , Bharath SM , "Tigran A . Aivazian" , David Sterba , Xiubo Li , Ryusuke Konishi , Vlastimil Babka , Jens Axboe , Sungjong Seo , v9fs@lists.linux.dev, Kent Overstreet , linux-unionfs@vger.kernel.org, Benjamin LaHaise , Jeffle Xu , Johannes Berg , Johannes Thumshirn , David Woodhouse , linux-karma-devel@lists.sourceforge.net, linux-btrfs@vger.kernel.org, Alexander Viro Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On Tue, Jun 17, 2025 at 06:25:34AM +0100, Lorenzo Stoakes wrote: > > > Most notably, this updates the elf logic to allow for the ability to > > > execute binaries on filesystems which have the .mmap_prepare hook, but > > > additionally we update nested filesystems. > > > > Can you please give the function a better name before spreading it? > > file operations aren't hooks by any classic definition. > > > > can_mmap_file()? Sounds reasonable. _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 16A7CC7115D for ; Tue, 17 Jun 2025 05:35:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RmRWJC5tZWtsfpQFE/TF3JKslfvBar5DWSq389jG70s=; b=P2fcsfIav7tEoW dZ5SA7Ul71r2kPm20dDNOB/lGAToFsi+/qRJAZmAOFfRviKibhAHdjWMPtnsgPRIiYvm5xAkGVNHL GvGZoQONyuZ4wQfxC1jg/SncDywgxARCX4TPEFLFqAa/0TJFp/33wI/yk2HtwiPrrTSwvbglKmek3 1Or/c5nU7Rnalio48Hc069Iix+kTZyieh7yjeFlxbQN55p7B4IHvMEHhrNdl+EG6B4nPYEXD4EOIC 4d3LDW6go+s4mOrmBppF/nseXmSgjZLGfzJpK7J372POcdlMDgzPA4cAxFQ3W8l/B7B6F0AqsdhcN wWDg0OcjH3nlZmnI8v7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uROz3-00000006GxT-3sT5; Tue, 17 Jun 2025 05:35:45 +0000 Received: from hch by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1uROtD-00000006GHz-1YxH; Tue, 17 Jun 2025 05:29:43 +0000 Date: Mon, 16 Jun 2025 22:29:43 -0700 From: Christoph Hellwig To: Lorenzo Stoakes Cc: Christoph Hellwig , Andrew Morton , "Liam R . Howlett" , Jens Axboe , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Simona Vetter , Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet , Christian Schoenebeck , David Sterba , David Howells , Marc Dionne , Alexander Viro , Christian Brauner , Jan Kara , Benjamin LaHaise , Miklos Szeredi , Amir Goldstein , Kent Overstreet , "Tigran A . Aivazian" , Kees Cook , Chris Mason , Josef Bacik , Xiubo Li , Ilya Dryomov , Jan Harkes , coda@cs.cmu.edu, Tyler Hicks , Gao Xiang , Chao Yu , Yue Hu , Jeffle Xu , Sandeep Dhavale , Hongbo Li , Namjae Jeon , Sungjong Seo , Yuezhang Mo , Theodore Ts'o , Andreas Dilger , Jaegeuk Kim , OGAWA Hirofumi , Viacheslav Dubeyko , John Paul Adrian Glaubitz , Yangtao Li , Richard Weinberger , Anton Ivanov , Johannes Berg , Mikulas Patocka , David Woodhouse , Dave Kleikamp , Trond Myklebust , Anna Schumaker , Ryusuke Konishi , Konstantin Komarov , Mark Fasheh , Joel Becker , Joseph Qi , Bob Copeland , Mike Marshall , Martin Brandenburg , Steve French , Paulo Alcantara , Ronnie Sahlberg , Shyam Prasad N , Tom Talpey , Bharath SM , Zhihao Cheng , Hans de Goede , Carlos Maiolino , Damien Le Moal , Naohiro Aota , Johannes Thumshirn , Dan Williams , Matthew Wilcox , Vlastimil Babka , Jann Horn , Pedro Falcato , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, v9fs@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-afs@lists.infradead.org, linux-aio@kvack.org, linux-unionfs@vger.kernel.org, linux-bcachefs@vger.kernel.org, linux-mm@kvack.org, linux-btrfs@vger.kernel.org, ceph-devel@vger.kernel.org, codalist@coda.cs.cmu.edu, ecryptfs@vger.kernel.org, linux-erofs@lists.ozlabs.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-um@lists.infradead.org, linux-mtd@lists.infradead.org, jfs-discussion@lists.sourceforge.net, linux-nfs@vger.kernel.org, linux-nilfs@vger.kernel.org, ntfs3@lists.linux.dev, ocfs2-devel@lists.linux.dev, linux-karma-devel@lists.sourceforge.net, devel@lists.orangefs.org, linux-cifs@vger.kernel.org, samba-technical@lists.samba.org, linux-xfs@vger.kernel.org, nvdimm@lists.linux.dev Subject: Re: [PATCH 03/10] fs: consistently use file_has_valid_mmap_hooks() helper Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Tue, Jun 17, 2025 at 06:25:34AM +0100, Lorenzo Stoakes wrote: > > > Most notably, this updates the elf logic to allow for the ability to > > > execute binaries on filesystems which have the .mmap_prepare hook, but > > > additionally we update nested filesystems. > > > > Can you please give the function a better name before spreading it? > > file operations aren't hooks by any classic definition. > > > > can_mmap_file()? Sounds reasonable. ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/