From 05de3c98c07e636e007e7ecf6516508426d02c83 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Tue, 22 Nov 2016 15:56:55 -0800 Subject: Add support for FUSE_HANDLE_KILLPRIV Fixes #116. --- include/fuse_common.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/fuse_common.h') diff --git a/include/fuse_common.h b/include/fuse_common.h index f336129..04b378f 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -267,6 +267,15 @@ struct fuse_file_info { */ #define FUSE_CAP_POSIX_ACL (1 << 19) +/** + * Indicates that the filesystem is responsible for unsetting + * setuid and setgid bits when a file is written, truncated, or + * its owner is changed. + * + * This feature is enabled by default when supported by the kernel. + */ +#define FUSE_CAP_HANDLE_KILLPRIV (1 << 20) + /** * Ioctl flags * -- cgit v1.2.3