From 681a0c1178fa93017a363a901d0348710582e90b Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Tue, 11 Apr 2023 17:54:09 +0200 Subject: Update fuse_kernel.h to state of linux-6.3 This syncs fuse_kernel.h to /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. --- include/fuse_common.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/fuse_common.h') 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 @@ -433,6 +433,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 * -- cgit v1.2.3