New ACL format for better NFSv4 acl interoperability
Get series with b4
b4 am 1298469131-16555-1-git-send-email-aneesh.kumar@linux.vnet.ibm.comVersions newest first
- v1 Latest24 patches 15 repliesIn review
Changes from v4 from the cover letter
a) rebase to 2.6.38-rc6
b) Fixes for MAY_DELETE_CHILD and MAY_DELETE_SELF when directory have sticky bits
c) Fixes for NFsv4 permission checking to make it work better with new MAY_* flags
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/24 | vfs: Indicate that the permission functions take all the MAY_* flagsfs/ | +3 | 0 replies | |
| 2/24 | vfs: Pass all mask flags down to iop->check_aclfs/ fs/ | +3 | 0 replies | |
| 3/24 | vfs: Add a comment to inode_permission()fs/ | +4 | 0 replies | |
| 4/24 | vfs: Add generic IS_ACL() test for acl supportfs/ include/ | +10 | 0 replies | |
| 5/24 | vfs: Add IS_RICHACL() test for richacl supportinclude/ | +3 | 0 replies | |
| 6/24 | vfs: Optimize out IS_RICHACL() if CONFIG_FS_RICHACL is not definedfs/ include/ | +8 | 0 replies | |
| 7/24 | vfs: Add new file and directory create permission flagsfs/ include/ | +17 | 0 replies | |
| 8/24 | vfs: Add delete child and delete self permission flagsfs/ include/ | +28 | 0 replies | |
| 9/24 | vfs: Make the inode passed to inode_change_ok non-constfs/ include/ | +2 | 0 replies | |
| 10/24 | vfs: Add permission flags for setting file attributesfs/ include/ | +41 | 0 replies | |
| 11/24 | vfs: Make acl_permission_check() work for richaclsfs/ | +14 | 0 replies | |
| 12/24 | richacl: In-memory representation and helper functionsfs/ fs/ include/ | +357 | 0 replies | |
| 13/24 | richacl: Permission mapping functionsfs/ include/ | +164 | 0 replies | |
| 14/24 | richacl: Compute maximum file masks from an aclfs/ include/ | +129 | 0 replies | |
| 15/24 | richacl: Update the file masks in chmod()fs/ include/ | +41 | 0 replies | |
| 16/24 | richacl: Permission check algorithmfs/ include/ | +101 | 0 replies | |
| 17/24 | richacl: Create-time inheritancefs/ fs/ fs/ +1 more | +133 | 0 replies | |
| 18/24 | richacl: Check if an acl is equivalent to a file modefs/ include/ | +55 | 0 replies | |
| 19/24 | richacl: Automatic Inheritancefs/ fs/ include/ | +38 | 0 replies | |
| 20/24 | richacl: xattr mapping functionsfs/ fs/ include/ | +204 | 0 replies | |
| 21/24 | ext4: Use IS_POSIXACL() to check for POSIX ACL supportfs/ fs/ fs/ | +13 | 0 replies | |
| 22/24 | vfs: Cache richacl in struct inodefs/ include/ include/ | +82 | 0 replies | |
| 23/24 | ext4: Implement rich acl for ext4fs/ fs/ fs/ +10 more | +367 | 0 replies | |
| 24/24 | ext4: Add temporary richacl mount option for ext4fs/ | +41 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH -V5 00/24] New ACL format for better NFSv4 acl interoperability
Hi,
The following set of patches implements VFS and ext4 changes needed to implement a new acl model for linux. Rich ACLs are an implementation of NFSv4 ACLs, extended by file masks to fit into the standard POSIX file permission model. They are designed to work seamlessly locally as well as across the NFSv4 and CIFS/SMB2 network file system protocols.
Full patch series including NFS server and client changes can be found atgit://git.kernel.org/pub/scm/linux/kernel/git/agruen/linux-2.6-richacl.git richacl orgit://git.kernel.org/pub/scm/linux/kernel/git/kvaneesh/linux-richacl.git richacl
A user-space utility for displaying and changing richacls is available at [4] (a number of examples can be found at http://acl.bestbits.at/richacl/examples.html).
[4] git://git.kernel.org/pub/scm/linux/kernel/git/agruen/richacl.git master
To test richacl on ext4 use -o richacl mount option. This mount option may later be dropped in favour of a feature flag.
More details regarding richacl can be found at
http://acl.bestbits.at/richacl/
Changes from v4:
a) rebase to 2.6.38-rc6
b) Fixes for MAY_DELETE_CHILD and MAY_DELETE_SELF when directory have sticky bits
c) Fixes for NFsv4 permission checking to make it work better with new MAY_* flags
-aneesh