diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-11-22 15:56:55 -0800 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-11-22 15:56:55 -0800 |
commit | 05de3c98c07e636e007e7ecf6516508426d02c83 (patch) | |
tree | 7a477ea529fcfd76f5a59a25a58f811914ef012b /include/fuse_common.h | |
parent | e16fdc06d7473f00499b6b03fb7bd06259a22135 (diff) | |
download | libfuse-05de3c98c07e636e007e7ecf6516508426d02c83.tar.gz |
Add support for FUSE_HANDLE_KILLPRIV
Fixes #116.
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r-- | include/fuse_common.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ -268,6 +268,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 * * FUSE_IOCTL_COMPAT: 32bit compat ioctl on 64bit machine |