linux/fs/fuse
Alessio Balsini 314603f83d FROMLIST: fuse: Definitions and ioctl() for passthrough
Expose the FUSE_PASSTHROUGH interface to userspace and declare all the
basic data structures and functions as the skeleton on top of which the
FUSE passthrough functionality will be built.

As part of this, introduce the new FUSE passthrough ioctl(), which
allows
the FUSE daemon to specify a direct connection between a FUSE file and a
lower file system file. Such ioctl() requires userspace to pass the file
descriptor of one of its opened files through the fuse_passthrough_out
data
structure introduced in this patch. This structure includes extra fields
for possible future extensions.
Also, add the passthrough functions for the set-up and tear-down of the
data structures and locks that will be used both when fuse_conns and
fuse_files are created/deleted.

Bug: 168023149
Link: https://lore.kernel.org/lkml/20201026125016.1905945-2-balsini@android.com/
Signed-off-by: Alessio Balsini <balsini@android.com>
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I6dd150b93607e10ed53f7e7975b35b6090080fa2
2020-11-02 19:15:35 +00:00
..
acl.c fuse: Support fuse filesystems outside of init_user_ns 2018-03-20 17:11:44 +01:00
control.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
cuse.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
dax.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
dev.c FROMLIST: fuse: Definitions and ioctl() for passthrough 2020-11-02 19:15:35 +00:00
dir.c FROMLIST: fuse: Definitions and ioctl() for passthrough 2020-11-02 19:15:35 +00:00
file.c FROMLIST: fuse: Definitions and ioctl() for passthrough 2020-11-02 19:15:35 +00:00
fuse_i.h FROMLIST: fuse: Definitions and ioctl() for passthrough 2020-11-02 19:15:35 +00:00
inode.c FROMLIST: fuse: Definitions and ioctl() for passthrough 2020-11-02 19:15:35 +00:00
Kconfig virtiofs: implement dax read/write operations 2020-09-10 11:39:23 +02:00
Makefile FROMLIST: fuse: Definitions and ioctl() for passthrough 2020-11-02 19:15:35 +00:00
passthrough.c FROMLIST: fuse: Definitions and ioctl() for passthrough 2020-11-02 19:15:35 +00:00
readdir.c fuse: split fuse_mount off of fuse_conn 2020-09-18 15:17:41 +02:00
virtio_fs.c fuse update for 5.10 2020-10-19 14:28:30 -07:00
xattr.c Merge 694565356c ("Merge tag 'fuse-update-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse") into android-mainline 2020-10-26 10:13:20 +01:00