Thread View: linux.kernel.netdev
103 messages
103 total messages
Page 3 of 3
Started by Christian Brauner
Tue, 10 Nov 2026 09:14
Page 3 of 3 • 103 total messages
Re: [PATCH RFC 01/41] loop: refuse backing files that aren't open for reading
Author: Christian Brauner
Date: Sat, 14 Nov 2026 10:38
Date: Sat, 14 Nov 2026 10:38
12 lines
8928 bytes
8928 bytes
On Wed, Nov 11, 2026 at 03:55:55PM +0100, Christoph Hellwig wrote:
> But i wonder if we want a thin wrapper around ->read_iter/_write_iter
> to do this check so that it matches the normal read/write path?
Yes, I had thought about that as well. We could use
vfs_iocb_iter_{read,write}() for that but it's not thin at all and
brings in the LSM into these codepaths where they shouldn't meddle.
So maybe as a follow-up series with a new
vfs_iocb_iter_{read,write}_raw() or whatever. Feel free to make a
suggestion.
Re: [PATCH RFC 38/41] fuse: refuse files on pseudo filesystems as passthrough backing files
Author: Amir Goldstein
Date: Sat, 14 Nov 2026 11:55
Date: Sat, 14 Nov 2026 11:55
27 lines
12851 bytes
12851 bytes
On Fri, Nov 13, 2026 at 11:25:57AM +0100, Alexander Mikhalitsyn wrote: > Hi Christoph, > > On Wed, 2026-11-11 at 16:12 +0100, Christoph Hellwig wrote: > > I've seen setups where people use fuse to mediate access to sysfs > > sysfs in odd ways. No idea if that's still around, but if so, this > > patch will break it. > > > Oh, that's painful. Do they use backing files for that? > It's a relatively new feature in FUSE... > Very unlikely that they use FUSE passthrough and if they did very unlikely that it would break their filesystem. The API for fuse passthrough is that the server requests to setup a backing file before open via ioctl and if ioctl fails (as this patch does) then server falls back to non-passthrough open. The ioctl can already fail for many reasons such as MAX_STACK_DEPTH on procfs as the commit message says, so server needs to cope with the fall back. Thanks, Amir.
Page 3 of 3 • 103 total messages
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads