vfs: Add inheritance emulation to vfs_nfs4acl_xattr

Enterprise / Samba - Alexander Werth [de.ibm.com] - 8 May 2013 23:18 UTC

Recursively inherit ACL from parent directory if no acl xattr is found on the current file. Use a default ACL if a non-inheriting ACL is encountered. With this the nfs4acl_xattr.dynamic test passes. But the nfs4acl_xattr.inheritance test results in an error because of warnings that cause the test to pass a failed result.

97eb8f7 vfs: Add inheritance emulation to vfs_nfs4acl_xattr.
selftest/knownfail | 1 -
source3/modules/vfs_nfs4acl_xattr.c | 292 +++++++++++++++++++++++++++++++----
2 files changed, 263 insertions(+), 30 deletions(-)

Upstream: gitweb.samba.org


  • Share