aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-10-05 13:58:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2016-10-05 13:58:15 -0400
commitedadd0e5a7f9970553423ebd08172c9e3d1fb189 (patch)
tree0fd6e91f3acdbec4cf483970b2ec79e037537230 /include/uapi/linux
parent3fb75cb80d55d4b168e1e3250a01a548b1357148 (diff)
parent63401ccdb2ca08ae76909f6588a3f3348bc3555d (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse
Pull fuse updates from Miklos Szeredi: "This adds POSIX ACL permission checking to the fuse kernel module. In addition there are minor bug fixes as well as cleanups" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse: fuse: limit xattr returned size fuse: remove duplicate cs->offset assignment fuse: don't use fuse_ioctl_copy_user() helper fuse_ioctl_copy_user(): don't open-code copy_page_{to,from}_iter() fuse: get rid of fc->flags fuse: use timespec64 fuse: don't use ->d_time fuse: Add posix ACL support fuse: handle killpriv in userspace fs fuse: fix killing s[ug]id in setattr fuse: invalidate dir dentry after chmod fuse: Use generic xattr ops fuse: listxattr: verify xattr list
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/fuse.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/uapi/linux/fuse.h b/include/uapi/linux/fuse.h
index 27e17363263a..42fa977e3b14 100644
--- a/include/uapi/linux/fuse.h
+++ b/include/uapi/linux/fuse.h
@@ -108,6 +108,10 @@
108 * 108 *
109 * 7.25 109 * 7.25
110 * - add FUSE_PARALLEL_DIROPS 110 * - add FUSE_PARALLEL_DIROPS
111 *
112 * 7.26
113 * - add FUSE_HANDLE_KILLPRIV
114 * - add FUSE_POSIX_ACL
111 */ 115 */
112 116
113#ifndef _LINUX_FUSE_H 117#ifndef _LINUX_FUSE_H
@@ -143,7 +147,7 @@
143#define FUSE_KERNEL_VERSION 7 147#define FUSE_KERNEL_VERSION 7
144 148
145/** Minor version number of this interface */ 149/** Minor version number of this interface */
146#define FUSE_KERNEL_MINOR_VERSION 25 150#define FUSE_KERNEL_MINOR_VERSION 26
147 151
148/** The node ID of the root inode */ 152/** The node ID of the root inode */
149#define FUSE_ROOT_ID 1 153#define FUSE_ROOT_ID 1
@@ -238,6 +242,8 @@ struct fuse_file_lock {
238 * FUSE_WRITEBACK_CACHE: use writeback cache for buffered writes 242 * FUSE_WRITEBACK_CACHE: use writeback cache for buffered writes
239 * FUSE_NO_OPEN_SUPPORT: kernel supports zero-message opens 243 * FUSE_NO_OPEN_SUPPORT: kernel supports zero-message opens
240 * FUSE_PARALLEL_DIROPS: allow parallel lookups and readdir 244 * FUSE_PARALLEL_DIROPS: allow parallel lookups and readdir
245 * FUSE_HANDLE_KILLPRIV: fs handles killing suid/sgid/cap on write/chown/trunc
246 * FUSE_POSIX_ACL: filesystem supports posix acls
241 */ 247 */
242#define FUSE_ASYNC_READ (1 << 0) 248#define FUSE_ASYNC_READ (1 << 0)
243#define FUSE_POSIX_LOCKS (1 << 1) 249#define FUSE_POSIX_LOCKS (1 << 1)
@@ -258,6 +264,8 @@ struct fuse_file_lock {
258#define FUSE_WRITEBACK_CACHE (1 << 16) 264#define FUSE_WRITEBACK_CACHE (1 << 16)
259#define FUSE_NO_OPEN_SUPPORT (1 << 17) 265#define FUSE_NO_OPEN_SUPPORT (1 << 17)
260#define FUSE_PARALLEL_DIROPS (1 << 18) 266#define FUSE_PARALLEL_DIROPS (1 << 18)
267#define FUSE_HANDLE_KILLPRIV (1 << 19)
268#define FUSE_POSIX_ACL (1 << 20)
261 269
262/** 270/**
263 * CUSE INIT request/reply flags 271 * CUSE INIT request/reply flags