]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
fuse: Add posix ACL support
authorSeth Forshee <seth.forshee@canonical.com>
Mon, 29 Aug 2016 13:46:37 +0000 (08:46 -0500)
committerMiklos Szeredi <mszeredi@redhat.com>
Sat, 1 Oct 2016 05:32:32 +0000 (07:32 +0200)
commit60bcc88ad185d512f5718f2f8dcccb483ea8fb73
tree898d528618e9091ed7a9191ee736b57073b8a1ad
parent5e940c1dd3c1f7561924954eecee956ec277a79b
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.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/Kconfig
fs/fuse/Makefile
fs/fuse/acl.c [new file with mode: 0644]
fs/fuse/dir.c
fs/fuse/fuse_i.h
fs/fuse/inode.c
fs/fuse/xattr.c
include/uapi/linux/fuse.h