aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse_common.h
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2023-04-11 17:54:09 +0200
committerNikolaus Rath <Nikolaus@rath.org>2023-04-11 19:54:59 +0100
commit681a0c1178fa93017a363a901d0348710582e90b (patch)
treed6091bbaa05d820705ddc7d5dcc3f630104dbe9a /include/fuse_common.h
parenteb88309882e0d88b726d0b1c3f4fb1ee7f56bd39 (diff)
downloadlibfuse-681a0c1178fa93017a363a901d0348710582e90b.tar.gz
Update fuse_kernel.h to state of linux-6.3
This syncs fuse_kernel.h to <linux-6.3>/include/uapi/linux/fuse.h Special handling is done for setxattr as in linux commit 52a4c95f4d24b struct fuse_setxattr_in was extended. Extended struct is only used when FUSE_SETXATTR_EXT is passed in FUSE_INIT reply.
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r--include/fuse_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h
index d2e7fbe..f63b22a 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -434,6 +434,13 @@ struct fuse_loop_config_v1 {
#define FUSE_CAP_EXPIRE_ONLY (1 << 26)
/**
+ * Indicates that an extended 'struct fuse_setxattr' is used by the kernel
+ * side - extra_flags are passed, which are used (as of now by acl) processing.
+ * For example FUSE_SETXATTR_ACL_KILL_SGID might be set.
+ */
+#define FUSE_CAP_SETXATTR_EXT (1 << 27)
+
+/**
* Ioctl flags
*
* FUSE_IOCTL_COMPAT: 32bit compat ioctl on 64bit machine