aboutsummaryrefslogtreecommitdiff
path: root/include/fuse_lowlevel.h
diff options
context:
space:
mode:
authorAlessio Balsini <balsini@google.com>2021-10-27 21:11:25 +0100
committerPaul Lawrence <paullawrence@google.com>2021-11-16 19:47:04 +0000
commit7e5a12d6de30f111d8eff8c669c9b6ed074fa583 (patch)
tree0cab7dc8faceb97b5ac2ffa27ef996ec5a9118af /include/fuse_lowlevel.h
parent7a5210792c659ac565d1853d21eb1b6f00f2094d (diff)
downloadlibfuse-7e5a12d6de30f111d8eff8c669c9b6ed074fa583.tar.gz
Support fuse-bpf
Add struct fuse_args Introduce bpf_arg in fuse_reply_entry Currently, the opcode filters are zeroed to preserve the libfuse compatibility. Bug: 202785178 Test: Along with other changes, file /sys/fs/bpf/prog_fuse_media_fuse_media appears. Signed-off-by: Alessio Balsini <balsini@google.com> Signed-off-by: Paul Lawrence <paullawrence@google.com> Change-Id: I38cd80d702813f4e2b45d69af2ca451fca0984c6
Diffstat (limited to 'include/fuse_lowlevel.h')
-rw-r--r--include/fuse_lowlevel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h
index e916112..d203157 100644
--- a/include/fuse_lowlevel.h
+++ b/include/fuse_lowlevel.h
@@ -98,6 +98,10 @@ struct fuse_entry_param {
that come through the kernel, this should be set to a very
large value. */
double entry_timeout;
+ uint64_t backing_action;
+ uint64_t backing_fd;
+ uint64_t bpf_action;
+ uint64_t bpf_fd;
};
/**