summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlessio Balsini <balsini@google.com>2021-05-13 11:38:53 +0100
committeralk3pInjection <webmaster@raspii.tech>2021-10-12 19:45:00 +0800
commit153aa66ea8f0533ee17791cbd7fb6af241370742 (patch)
tree41143781f4253dc452e4903eaec87f71c60f50c8 /include
parentc6ee1a101665ba51cfc9a91e73d6a5bd9d41943a (diff)
Introduce API V2 for FUSE_PASSTHROUGH_OPENHEADlineage-18.1
From the feedback received on LKML, it would be better to have multiple ioctls, than a single ioctl the behavior of which depends on the data that is passed (e.g., with an enum). Introduce the new FUSE_PASSTHROUGH_OPEN ioctl which only gets the fd of the lower file system. Bug: 175195837 Test: CtsScopedStorageDeviceOnlyTest with android-mainline kernel \ implementing the new FUSE_PASSTHROUGH_OPEN ioctl Signed-off-by: Alessio Balsini <balsini@google.com> Change-Id: Iecb677722ca9630ce89b8a8fb5f486216ecd89cc
Diffstat (limited to 'include')
-rw-r--r--include/fuse_kernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h
index 55d8e2c..bd8794e 100644
--- a/include/fuse_kernel.h
+++ b/include/fuse_kernel.h
@@ -836,6 +836,7 @@ struct fuse_notify_retrieve_in {
#define FUSE_DEV_IOC_CLONE _IOR(229, 0, uint32_t)
#define FUSE_DEV_IOC_PASSTHROUGH_OPEN_V0 _IOW(229, 1, struct fuse_passthrough_out_v0)
#define FUSE_DEV_IOC_PASSTHROUGH_OPEN_V1 _IOW(229, 127, struct fuse_passthrough_out_v0)
+#define FUSE_DEV_IOC_PASSTHROUGH_OPEN_V2 _IOW(229, 126, uint32_t)
struct fuse_lseek_in {
uint64_t fh;