New ACL format for better NFSv4 acl interoperability
Get series with b4
b4 am 1398615293-22931-1-git-send-email-aneesh.kumar@linux.vnet.ibm.comVersions newest first
- v1 Latest22 patches 26 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/22 | vfs: Add generic IS_ACL() test for acl supportfs/ include/ include/ | +11 | 0 replies | |
| 2/22 | vfs: Add IS_RICHACL() test for richacl supportinclude/ include/ | +3 | 0 replies | |
| 3/22 | vfs: Optimize out IS_RICHACL() if CONFIG_FS_RICHACL is not definedfs/ include/ | +8 | 0 replies | |
| 4/22 | vfs: check for directory earlyfs/ | +3 | 0 replies | |
| 5/22 | vfs: Add new file and directory create permission flagsfs/ include/ | +14 | 3 replies | |
| 6/22 | vfs: Add delete child and delete self permission flagsfs/ include/ | +36 | 2 replies | |
| 7/22 | vfs: Make the inode passed to inode_change_ok non-constfs/ include/ | +2 | 0 replies | |
| 8/22 | vfs: Add permission flags for setting file attributesfs/ fs/ include/ | +61 | 2 replies | |
| 9/22 | vfs: Make acl_permission_check() work for richaclsfs/ | +13 | 2 replies | |
| 10/22 | richacl: In-memory representation and helper functionsfs/ fs/ include/ | +308 | 3 replies | |
| 11/22 | richacl: Permission mapping functionsfs/ include/ | +164 | 0 replies | |
| 12/22 | richacl: Compute maximum file masks from an aclfs/ include/ | +129 | 0 replies | |
| 13/22 | richacl: Update the file masks in chmod()fs/ include/ | +41 | 0 replies | |
| 14/22 | richacl: Permission check algorithmfs/ include/ | +104 | 0 replies | |
| 15/22 | richacl: Create-time inheritancefs/ fs/ fs/ +1 more | +133 | 0 replies | |
| 16/22 | richacl: Check if an acl is equivalent to a file modefs/ include/ | +55 | 0 replies | |
| 17/22 | richacl: Automatic Inheritancefs/ fs/ include/ | +37 | 0 replies | |
| 18/22 | richacl: xattr mapping functionsfs/ fs/ include/ | +177 | 0 replies | |
| 19/22 | vfs: Cache richacl in struct inodefs/ include/ include/ | +83 | 3 replies | |
| 20/22 | vfs: Add richacl permission checkfs/ fs/ fs/ +2 more | +73 | 0 replies | |
| 21/22 | ext4: Implement rich acl for ext4fs/ fs/ fs/ +9 more | +330 | 0 replies | |
| 22/22 | ext4: Add Ext4 compat richacl feature flagfs/ fs/ | +40 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH -V1 00/22] New ACL format for better NFSv4 acl interoperability
Hi
As per LSF/MM summit discussion I am reposting the richacl patchset for upstream inclusion. The patchset includes minimal changes required to implement a new acl model similar to NFSv4 ACL. The acl model selection is based on file system feature flag.
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.
A user-space utility for displaying and changing richacls is available at [1] (a number of examples can be found at http://acl.bestbits.at/richacl/examples.html).
[1] git://github.com/kvaneesh/richacl-tools.git master
To test richacl on ext4, create the file sytem with richacl feature flag (mkfs.ext4 -O richacl or tune2fs -O richacl). With richacl feature enabled using mount option "acl" will switch to using richacl instead of posixacl.
More details regarding richacl can be found at
http://acl.bestbits.at/richacl/
Previous posting of the patchset can be found at:
http://mid.gmane.org/[email protected]
"[PATCH -V8 00/26] New ACL format for better NFSv4 acl interoperability"
The complete patchset can also be found at:
https://github.com/kvaneesh/linux/commits/richacl-for-upstream
Since we are trying to get the changes merged upstream after a long time, I am posting this as V1 again. I Also dropped the Acked-by tag from David Howells <[email protected]> and J. Bruce Fields <[email protected]>. Please let me know if I can add them back again.
-aneesh