summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-10-10 17:00:42 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-10-11 12:25:13 +1100
commit38416ccac3970b2bf63fe218ef85d535d848302c (patch)
treeee3be6c755423ec5c374227935c1f504e13f4068 /source3/modules
parentbac3ed2696e621ee18f4332e5404bbf2af0c7ccb (diff)
downloadsamba-38416ccac3970b2bf63fe218ef85d535d848302c.tar.gz
samba-38416ccac3970b2bf63fe218ef85d535d848302c.tar.bz2
samba-38416ccac3970b2bf63fe218ef85d535d848302c.zip
vfs: Use a blocking function in vfs_zfsacl for system ACL blobs
This is so we do not query some other module for the ACL blob, as zfs ACLs are not posix ACLs. We may add a linearisation later. Andrew Bartlett
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_zfsacl.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/modules/vfs_zfsacl.c b/source3/modules/vfs_zfsacl.c
index bf06881462..b95baa5d87 100644
--- a/source3/modules/vfs_zfsacl.c
+++ b/source3/modules/vfs_zfsacl.c
@@ -301,11 +301,23 @@ static int zfsacl_fail__sys_acl_delete_def_file(vfs_handle_struct *handle,
return -1;
}
+static int zfsacl_fail__sys_acl_blob_get_file(vfs_handle_struct *handle, const char *path_p, TALLOC_CTX *mem_ctx, char **blob_description, DATA_BLOB *blob)
+{
+ return -1;
+}
+
+static int zfsacl_fail__skel_sys_acl_blob_get_fd(vfs_handle_struct *handle, files_struct *fsp, TALLOC_CTX *mem_ctx, char **blob_description, DATA_BLOB *blob)
+{
+ return -1;
+}
+
/* VFS operations structure */
static struct vfs_fn_pointers zfsacl_fns = {
.sys_acl_get_file_fn = zfsacl_fail__sys_acl_get_file,
.sys_acl_get_fd_fn = zfsacl_fail__sys_acl_get_fd,
+ .sys_acl_blob_get_file_fn = zfsacl_fail__sys_acl_blob_get_file,
+ .sys_acl_blob_get_fd_fn = zfsacl_fail__sys_acl_blob_get_fd,
.sys_acl_set_file_fn = zfsacl_fail__sys_acl_set_file,
.sys_acl_set_fd_fn = zfsacl_fail__sys_acl_set_fd,
.sys_acl_delete_def_file_fn = zfsacl_fail__sys_acl_delete_def_file,