[PATCH][WIP] Make vfs_acl_xattr use hash of the posix ACL
abartlet at samba.org
Tue Oct 9 05:58:17 MDT 2012
This patch (still a work in progress, as I know it fails some tests) is
what I've been talking about for months, and which I got VFS changes in
(almost - one small change in this patch) into 4.0.0rc1.
The idea is simple, have the ACL modules (the posix ACL modules in
particular) provide a blob form of the ACL, and then hash that, rather
than an NT ACL that might change if our ACL mapping code changes.
So far I've made it simply fall back in the NFSv4 case, but we can
define these in IDL as well if we want to do the same there.
The idea is to insulate these on-disk values from any required change we
have to make.
I'm proposing these changes (once finished) for master, and will son
have some more tests for this code.
Any thoughts or comments most appreciated.
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 45541 bytes
Desc: not available
More information about the samba-technical