New ACL format for better NFSv4 acl interoperability
Get series with b4
b4 am 1278096227-16784-1-git-send-email-aneesh.kumar@linux.vnet.ibm.comVersions newest first
- v1 Latest16 patches 7 repliesIn review
Changes from V1 from the cover letter
1) Split the patches into smaller patches
2) Added extensive documentation to the patches.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | vfs: Hooks for more fine-grained directory permission checkingfs/ include/ | +69 | 0 replies | |
| 2/16 | vfs: Add generic IS_ACL() test for acl supportfs/ fs/ include/ | +11 | 0 replies | |
| 3/16 | vfs: Add IS_RICHACL() test for richacl supportinclude/ | +3 | 0 replies | |
| 4/16 | richacl: In-memory representation and helper functionsfs/ fs/ fs/ +1 more | +361 | 0 replies | |
| 5/16 | richacl: Permission mapping functionsfs/ include/ | +125 | 0 replies | |
| 6/16 | richacl: Compute maximum file masks from an aclfs/ include/ | +127 | 0 replies | |
| 7/16 | richacl: Update the file masks in chmod()fs/ include/ | +38 | 0 replies | |
| 8/16 | richacl: Permission check algorithmfs/ include/ | +89 | 0 replies | |
| 9/16 | richacl: Helper functions for implementing richacl inode operationsfs/ fs/ include/ | +216 | 0 replies | |
| 10/16 | richacl: Create-time inheritancefs/ fs/ include/ | +110 | 0 replies | |
| 11/16 | richacl: Check if an acl is equivalent to a file modefs/ include/ | +49 | 0 replies | |
| 12/16 | richacl: Automatic Inheritancefs/ fs/ include/ | +41 | 0 replies | |
| 13/16 | richacl: xattr mapping functionsfs/ fs/ include/ | +204 | 0 replies | |
| 14/16 | ext4: Use IS_POSIXACL() to check for POSIX ACL supportfs/ fs/ fs/ | +13 | 0 replies | |
| 15/16 | ext4: Implement rich acl for ext4fs/ fs/ fs/ +9 more | +420 | 0 replies | |
| 16/16 | ext4: Add temporary richacl mount option for ext4.fs/ fs/ | +43 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH -V2 00/16] New ACL format for better NFSv4 acl interoperability
Hi,
The following set of patches implements 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.
Since posting the patches the previous time [0], Andreas Gruenbacher and I have worked on cleaning up the code, splitting things up into smaller pieces, and adding more documentation.
[0] http://article.gmane.org/gmane.comp.file-systems.ext4/17414
The patch set consists of three parts.
The first set of patches, posted as a follow up, contains the Rich ACL model and Ext4 implementation. The second set [1] contains mapping of Rich ACL to NFSv4 ACL (how to apply file mask to access mask) and implementation of Richacl ACL for NFS server and client. The third set [2] contains POSIX ACL to Rich ACL mapping and its ext4 usage.
[1] git://git.kernel.org/pub/scm/linux/kernel/git/agruen/linux-2.6-richacl.git richacl-upstream
[2] git://git.kernel.org/pub/scm/linux/kernel/git/agruen/linux-2.6-richacl.git richacl-fullset
A user-space utility for displaying and changing richacls is available at [3] (a number of examples can be found at http://acl.bestbits.at/richacl/examples.html).
[3] 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 V1:
1) Split the patches into smaller patches
2) Added extensive documentation to the patches.
-aneesh