This will allow moving all the Posix ACL handling into the VFS and clean
up tons of cruft in the filesystems.
Signed-off-by: Christoph Hellwig h...@lst.de
Reviewed-by: Jan Kara j...@suse.cz
---
include/linux/fs.h |1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/fs.h
With the -set_acl inode operation we can implement the Posix ACL
xattr handlers in generic code instead of duplicating them all
over the tree.
Signed-off-by: Christoph Hellwig h...@lst.de
Reviewed-by: Jan Kara j...@suse.cz
---
fs/xattr_acl.c | 102
Also don't bother to set up a .get_acl method for symlinks as we do not
support access control (ACLs or even mode bits) for symlinks in Linux,
and create inodes with the proper mode instead of fixing it up later.
Signed-off-by: Christoph Hellwig h...@lst.de
Reviewed-by: Dave Chinner
Factor out the code to get an ACL either from the inode or disk from
check_acl, so that it can be used elsewhere later on.
Signed-off-by: Christoph Hellwig h...@lst.de
Reviewed-by: Jan Kara j...@suse.cz
---
fs/namei.c| 24 +++-
fs/posix_acl.c|
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/nfs/inode.c |4 -
fs/nfs/nfs3acl.c | 287 +---
fs/nfs/nfs3proc.c | 26 +++--
fs/nfs/nfs3super.c |3 +
include/linux/nfs_fs.h | 10 +-
5 files changed, 76
This contains some major refactoring for the create path so that
inodes are created with the right mode to start with instead of
fixing it up later.
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/ocfs2/acl.c | 234 ++-
fs/ocfs2/acl.h
And instead convert tmpfs to use the new generic ACL code, with two stub
methods provided for in-memory filesystems.
Signed-off-by: Christoph Hellwig h...@lst.de
---
fs/Kconfig |6 +-
fs/Makefile |1 -
fs/generic_acl.c| 184
Rename the current posix_acl_chmod to __posix_acl_chmod and add
a fully featured ACL chmod helper that uses the -set_acl inode
operation.
Signed-off-by: Christoph Hellwig h...@lst.de
Reviewed-by: Jan Kara j...@suse.cz
---
fs/9p/acl.c |2 +-
fs/btrfs/acl.c|2 +-
Signed-off-by: Christoph Hellwig h...@lst.de
Reviewed-by: Vyacheslav Dubeyko sl...@dubeyko.com
---
fs/hfsplus/acl.h |9 +--
fs/hfsplus/dir.c |1 +
fs/hfsplus/inode.c |3 +-
fs/hfsplus/posix_acl.c | 168 +---
Also don't bother to set up a .get_acl method for symlinks as we do not
support access control (ACLs or even mode bits) for symlinks in Linux.
Signed-off-by: Christoph Hellwig h...@lst.de
Reviewed-by: Jan Kara j...@suse.cz
---
fs/reiserfs/acl.h |4 +-
fs/reiserfs/file.c |1 +
10 matches
Mail list logo