vfs: Add inheritance emulation to vfs_nfs4acl_xattr.
authorAlexander Werth <alexander.werth@de.ibm.com>
Tue, 16 Apr 2013 12:11:27 +0000 (14:11 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 9 May 2013 04:18:21 +0000 (06:18 +0200)
commit97eb8f73e5d106781344895d3bb02767b0ac5c94
treee2a0f0bbb06cf836d20ffdf621f2432467fb9836
parentfe8a1fcda792ee38faaadf1da2905b62302ce3e1
vfs: Add inheritance emulation to vfs_nfs4acl_xattr.

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.

Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail
source3/modules/vfs_nfs4acl_xattr.c