History

fuse: Add posix ACL support

Add a new INIT flag, FUSE_POSIX_ACL, for negotiating ACL support with userspace. When it is set in the INIT response, ACL support will be enabled. ACL support also implies "default_permissions". When ACL support is enabled, the kernel will cache and have responsibility for enforcing ACLs. ACL xattrs will be passed to userspace, which is responsible for updating the ACLs in the filesystem, keeping the file mode in sync, and inheritance of default ACLs when new filesystem nodes are created.

Seth Forshee committed 10 years ago

Commit 60bcc881 parent 5e940c18 files · +155 −7Browse files

Showing the changes to include/uapi/linux (1 of 8 files). Show all

Unified · Split

include/uapi/linux/fuse.h+3−0
@@ -111,6 +111,7 @@ · 110 unmodified lines
111111 *
112112 * 7.26
113113 * - add FUSE_HANDLE_KILLPRIV
114+ * - add FUSE_POSIX_ACL
114115 */
115116
116117 #ifndef _LINUX_FUSE_H
@@ -242,6 +243,7 @@ struct fuse_file_lock { · 125 unmodified lines
242243 * FUSE_NO_OPEN_SUPPORT: kernel supports zero-message opens
243244 * FUSE_PARALLEL_DIROPS: allow parallel lookups and readdir
244245 * FUSE_HANDLE_KILLPRIV: fs handles killing suid/sgid/cap on write/chown/trunc
246+ * FUSE_POSIX_ACL: filesystem supports posix acls
245247 */
246248 #define FUSE_ASYNC_READ (1 << 0)
247249 #define FUSE_POSIX_LOCKS (1 << 1)
@@ -263,6 +265,7 @@ struct fuse_file_lock { · 15 unmodified lines
263265 #define FUSE_NO_OPEN_SUPPORT (1 << 17)
264266 #define FUSE_PARALLEL_DIROPS (1 << 18)
265267 #define FUSE_HANDLE_KILLPRIV (1 << 19)
268+#define FUSE_POSIX_ACL (1 << 20)
266269
267270 /**
268271 * CUSE INIT request/reply flags

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t